Skip to content

Move the operator registry from individual backends to the registry c… #1515

Move the operator registry from individual backends to the registry c…

Move the operator registry from individual backends to the registry c… #1515

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'
- if: runner.os != 'macOS' || runner.arch != 'ARM64'
name: Setup FFmpeg for ${{ runner.os }} on ${{ runner.arch }}
uses: AnimMouse/setup-ffmpeg@v1
- if: runner.os == 'macOS' && runner.arch == 'ARM64'
name: Compile FFmpeg using brew for ${{ runner.os }} on ${{ runner.arch }}
run: brew install ffmpeg
- 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