Skip to content

Expand CI Python matrix to 3.11 through 3.14 #2

Expand CI Python matrix to 3.11 through 3.14

Expand CI Python matrix to 3.11 through 3.14 #2

Workflow file for this run

name: CI
on:
push:
branches: [main, master]
pull_request:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- name: Install dependencies
run: uv sync --locked --dev
- name: Ruff check
run: uv run ruff check --output-format github .
- name: Ruff format check
run: uv run ruff format --check .
test:
name: Test (Python ${{ matrix.python-version }})
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v7
with:
python-version: ${{ matrix.python-version }}
enable-cache: true
- name: Install dependencies
run: uv sync --locked --dev
- name: Run tests
run: uv run pytest