Skip to content

Add CI: Python tests + lint on macOS/Linux/Windows x Python 3.11/3.13 #1

Add CI: Python tests + lint on macOS/Linux/Windows x Python 3.11/3.13

Add CI: Python tests + lint on macOS/Linux/Windows x Python 3.11/3.13 #1

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
name: Python ${{ matrix.python-version }} / ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.11", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install -e ".[dev]"
- name: Run tests
run: pytest -v
- name: Lint
run: ruff check src/ tests/