Skip to content

Run Matrix Tests

Run Matrix Tests #83

Workflow file for this run

# This matrix testing is for versions not already exercised by tests.yml
# For regular pushes, we just test the minimum Python version, but when pushing
# to main or release, we want to exercise the full matrix.
name: Run Matrix Tests
on:
workflow_call:
workflow_dispatch:
push:
branches: main
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.9", "3.10", "3.11", "3.12"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: FedericoCarboni/setup-ffmpeg@v2
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Python dependencies
run: |
pip install wheel
pip install -r requirements.txt -r requirements.dev.txt -r requirements.ci.txt -e .
- name: Run tests
run: cd test && python run.py prod