Bumped workflow versions (#610) #1263
This file contains hidden or 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: "Serial tests" | |
| on: [push] | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| os: [macos-12, ubuntu-latest, windows-latest] | |
| runs-on: ${{ matrix.os }} | |
| timeout-minutes: 60 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - uses: FedericoCarboni/setup-ffmpeg@v3 | |
| # install ffmpeg as special requirement | |
| id: setup-ffmpeg | |
| with: | |
| ffmpeg-version: release | |
| github-token: ${{ github.server_url == 'https://github.com' && github.token || '' }} | |
| - name: Install dependencies | |
| # install all requirements | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r tests/requirements_full.txt | |
| pip install -r tests/requirements.txt | |
| - name: Run serial tests with pytest | |
| env: | |
| NUMBA_WARNINGS: 1 | |
| MPLBACKEND: agg | |
| run: | | |
| cd scripts | |
| python run_tests.py --unit --runslow --num_cores auto --showconfig |