Skip to content

Feat training

Feat training #1757

Workflow file for this run

name: Premerge Checks
on: [push, pull_request]
jobs:
check_code:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: 3.8
cache: "pip"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install wheel
pip install -r requirements.txt
pip install -r requirements_cicd.txt
- name: Run lint checks
uses: ./.github/actions/linting-checks # note only works after checkout@v2
- name: Run unit tests
uses: coactions/setup-xvfb@v1
with:
run: |
wandb disabled
bash ./scripts/run_tests.sh unit
- name: Run broken link report
run: python ./scripts/check_links.py