Skip to content

Refactor code: remove deprecated interval parameter, clean up unused … #1356

Refactor code: remove deprecated interval parameter, clean up unused …

Refactor code: remove deprecated interval parameter, clean up unused … #1356

Workflow file for this run

name: "Serial tests"
on: [push]
jobs:
serial_tests:
strategy:
matrix:
os: [macos-latest, 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.13'
- name: Setup FFmpeg
uses: AnimMouse/setup-ffmpeg@v1
- name: Install dependencies
# install all requirements. Note that the full requirements are installed separately
# so the job does not fail if one of the packages cannot be installed. This allows
# testing the package for newer python version even when some of the optional
# packages are not yet available.
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
cat tests/requirements_full.txt | sed -e '/^\s*#.*$/d' -e '/^\s*$/d' | xargs -I % sh -c "pip install % || true"
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