From 416be4ac435ff83f807b2a71c0ec7b034b696cac Mon Sep 17 00:00:00 2001 From: Jonny Spicer Date: Wed, 15 Jul 2026 22:20:55 +0100 Subject: [PATCH] Add CI to run the setup-repo test suites on PRs Nothing in this repo exercised the scaffolding tests, so engine/asset regressions could slip through. Add a workflow that installs the test tools via uv (matching the org Python standard) and runs the three setup-repo suites (python-assets, ci-assets, scaffold e2e) on push to main and every PR. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/setup-repo-tests.yml | 33 ++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/setup-repo-tests.yml diff --git a/.github/workflows/setup-repo-tests.yml b/.github/workflows/setup-repo-tests.yml new file mode 100644 index 0000000..714a6f5 --- /dev/null +++ b/.github/workflows/setup-repo-tests.yml @@ -0,0 +1,33 @@ +# Runs the setup-repo skill's asset + engine test suites so regressions in the +# scaffolding (assets, the scaffold engine, or the CI/asset validators) are caught +# on every PR. Uses uv to install the test tools, matching the org Python standard. +name: setup-repo tests + +on: + push: + branches: [main] + pull_request: + +jobs: + tests: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: "3.12" + + - name: Install uv + uses: astral-sh/setup-uv@v5 + + - name: Install test tools + run: uv pip install --system pyyaml ruff pytest + + - name: Run setup-repo test suites + run: | + bash tests/setup-repo/test-python-assets.sh + bash tests/setup-repo/test-ci-assets.sh + bash tests/setup-repo/test-scaffold.sh