-
Notifications
You must be signed in to change notification settings - Fork 23
40 lines (37 loc) · 1.2 KB
/
matrix-tests.yml
File metadata and controls
40 lines (37 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# 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
concurrency:
group: ${{ github.workflow }}-matrix-${{ github.ref }}
cancel-in-progress: true
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- uses: FedericoCarboni/setup-ffmpeg@37062fbf7149fc5578d6c57e08aed62458b375d6 # @v3.1, with tool cache
if : runner.os != 'macOS'
- run: brew install ffmpeg
if : runner.os == 'macOS'
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install Python dependencies
run: |
pip install -e .[all]
- name: Run tests
run: python run_tests.py all