Skip to content

GHA OS test matrix

GHA OS test matrix #91

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
tests:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v5
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --extra test --python ${{ matrix.python-version }}
- name: Run pytest
run: uv run --python ${{ matrix.python-version }} pytest -v