Files
Noel Sabia 070ecd2a78
ci / check (push) Successful in 1m12s
ci: fix Gitea runner setup and tighten docs
Replace setup-python with setup-uv: the self-hosted Gitea runner lacks the
toolcache and lsb_release dependency, so the job failed before any project
step. uv installs its own Python 3.12; the checks are unchanged.

Align the README and docs with the committed artifacts: quick start serves
from baked artifacts, rebuild steps are separate, and the reference-model
comparison no longer overstates the result. Drop stale external-doc
references and comments that restated the code.
2026-11-14 09:10:47 +01:00

43 lines
989 B
YAML

name: ci
on:
push:
branches:
- main
- "feat/**"
pull_request:
permissions:
contents: read
jobs:
check:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Check out
uses: actions/checkout@v4
# setup-python needs the runner toolcache and lsb_release; this Gitea
# runner has neither. uv installs its own Python 3.12.
- name: Set up uv
uses: astral-sh/setup-uv@v6
with:
version: "0.10.4"
python-version: "3.12"
enable-cache: false
# Same checks as local `make check`, split into steps for readable CI
# failures. No secrets, no image push, no cluster access.
- name: Sync locked environment
run: uv sync --frozen
- name: Static analysis (ruff)
run: uv run ruff check src tests scripts main.py
- name: Byte-compile
run: uv run python -m compileall src scripts
- name: Tests
run: uv run pytest -q