Skip to content

Drop support for Python < 3.10, add py.typed and switch to uv/ruff/pyright #20

Drop support for Python < 3.10, add py.typed and switch to uv/ruff/pyright

Drop support for Python < 3.10, add py.typed and switch to uv/ruff/pyright #20

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: pip install uv
- run: uv venv
- run: uv sync
- run: uv run pytest
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- run: pip install uv
- run: uv venv
- run: uv pip install --requirement pyproject.toml --all-extras
- run: .venv/bin/ruff format --check .
- run: .venv/bin/ruff check .
- run: .venv/bin/mypy .