Files

18 lines
483 B
YAML

name: tests
on: [push, pull_request]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: python -m pip install uv==0.8.22
- run: uv sync --locked
- run: uv run --no-sync pytest -q
- run: uv run --no-sync ruff check src tests examples
- run: uv run --no-sync ruff format --check src tests examples