Skip to content

Update project metadata, require Python 3.10 #2

Update project metadata, require Python 3.10

Update project metadata, require Python 3.10 #2

Workflow file for this run

name: Lint and Test
on: [push, pull_request]
jobs:
lint-test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.10"
- "3.13"
env:
UV_PYTHON: ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Install the project
run: uv sync --all-extras --dev
- name: Check formatting
run: uv run ruff format --check
- name: Check typing
run: uv run mypy .
- name: Lint project
run: uv run ruff check .
- name: Run tests
run: uv run pytest tests