Skip to content

Merge branch 'docs/polish' #5

Merge branch 'docs/polish'

Merge branch 'docs/polish' #5

Workflow file for this run

name: tests
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
# Pinned to the version the tree is formatted with, so a formatter
# release cannot break the build on its own.
- run: pip install ruff==0.16.0
- run: ruff check .
- run: ruff format --check .
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
python: ["3.10", "3.11", "3.12"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- run: pip install -e .[dev]
- run: pytest -q