Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 5 additions & 25 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,35 +10,15 @@ on:
branches: ["main"]

jobs:
test:
name: ${{ matrix.os }} - ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.15"]
os: ["windows-latest", "ubuntu-latest"]

spell-check:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
python-version: ${{ matrix.python-version }}
enable-cache: true
activate-environment: true
- name: Install dependencies
run: |
uv sync --all-extras
- name: Lint with ruff
run: |
ruff check .
- name: Check types with zuban
run: |
zuban check
- name: Pytest
run: |
pytest
python-version: 3.14
- name: Run codespell with a typo
run: uvx codespell . || exit 1

permissions:
contents: read
Expand Down
Loading