Skip to content

Report the "base roots" when checking alignment. #17

Report the "base roots" when checking alignment.

Report the "base roots" when checking alignment. #17

Workflow file for this run

name: Static code quality tests and unit tests
on:
push:
branches: [ main ]
paths:
- 'src/**'
- 'tests/**'
- 'pyproject.toml'
- '.github/workflows/code-quality.yml'
pull_request:
branches: [ main ]
paths:
- 'src/**'
- 'tests/**'
- 'pyproject.toml'
- '.github/workflows/code-quality.yml'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.11", "3.12", "3.13", "3.14" ]
steps:
- name: Check out the repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Install Python dependencies
run: uv sync --dev --all-extras
- name: Code linting
run: uv run ruff check src tests
- name: Code formatting
run: uv run ruff format --check src tests
- name: Static type checking
run: |
uv run mypy src
uv run mypy tests
- name: Unit tests
run: uv run pytest tests