Fix Video Unit Tests #914
Workflow file for this run
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: test_python | |
on: | |
pull_request: | |
branches: main | |
push: | |
branches: main | |
jobs: | |
test_python: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.9' | |
- run: sudo apt-get update | |
- run: sudo apt-get install --fix-missing ffmpeg python3-soundfile | |
- run: pip install pyre-check pytest torchvision | |
- run: pip install -e .[all] | |
- run: pyre --source-directory "." --noninteractive check || true | |
- run: pytest --durations=10 . |