Skip to content

Point to docs/ in toplevel README.md #77

Point to docs/ in toplevel README.md

Point to docs/ in toplevel README.md #77

Workflow file for this run

# .github/workflows/ci.yml
name: CI
on: [push]
jobs:
ci:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ['3.12', '3.13', '3.14']
task: [check, test, format]
name: ${{ matrix.task }} (py ${{ matrix.python-version }})
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Cache uv
uses: actions/cache@v4
with:
path: |
~/.cache/uv
.venv
key: ${{ runner.os }}-uv-${{ hashFiles('**/uv.lock', '**/pyproject.toml') }}
restore-keys: ${{ runner.os }}-uv-
- name: Install uv
run: |
set -euxo pipefail
curl -LsSf https://astral.sh/uv/install.sh | sh
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Select command
run: |
case "${{ matrix.task }}" in
check) echo "CMD=make check" >> $GITHUB_ENV ;;
test) echo "CMD=make test" >> $GITHUB_ENV ;;
format) echo "CMD=make format FLAGS=--check" >> $GITHUB_ENV ;;
esac
- name: Run
run: $CMD