From 80a48a957ee2fb53d635afb64fac71a62df8baaa Mon Sep 17 00:00:00 2001 From: KerroKapple Date: Tue, 16 Jun 2026 00:31:00 +1000 Subject: [PATCH] chore: add GitHub Actions CI workflow Add a CI workflow that runs on push and pull_request to main. On ubuntu-latest it installs uv (astral-sh/setup-uv@v5), runs `uv sync --frozen` to install the CPU dependencies, lints with `ruff check .`, then runs the full offline `uv run pytest` suite. All 71 tests are CPU-safe and offline: model downloads are mocked, models are built with pretrained=False, and the face detector is faked, so no datasets, weights, or GPU are required. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/ci.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..370863e --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,27 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Install uv + uses: astral-sh/setup-uv@v5 + with: + enable-cache: true + + - name: Install dependencies + run: uv sync --frozen + + - name: Lint with ruff + run: uv run ruff check . + + - name: Run tests + run: uv run pytest