Skip to content

restore docs

restore docs #98

Workflow file for this run

name: CI
env:
# enable colored output
PY_COLORS: 1
on:
push:
branches: ["main"]
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
test:
timeout-minutes: 10
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v5
with:
version: "latest"
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync
- name: Run tests
run: uv run pytest -xvs
- name: Run ruff
run: uv run ruff check src/ tests/
- name: Run type checking
run: uv run ty check