bound mediapipe version in requirements_cicd.txt #1774
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v3 | |
- name: Setup python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
cache: "pip" | |
cache-dependency-path: '**/requirements*.txt' | |
- 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 |