a2aa953761
CI / check (pull_request) Successful in 5s
Prereqs for autopilot full-auto-merge eligibility (and useful CI on their own): - tools/check.sh: dependency-light test suite (lab py-compile, sh/json/yaml parse, no-em-dash slop guard, per-module template-section structure check). Exits non-zero on any failure. The autopilot review gate runs this as its `test` command. - .gitea/.github workflows/ci.yml: run on every PR + push on the docker runners; build = render the wiki from the tree, test = tools/check.sh. The PR commit status is what the autopilot gate's CI precondition reads. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TfzV5QvtPDz8LJS3Pu5VLT
26 lines
1.0 KiB
YAML
26 lines
1.0 KiB
YAML
# PR + push CI for the course. Reports a commit status the claude-deck autopilot
|
|
# review gate reads, and runs the same build/test the gate runs on the merged tree:
|
|
# build = render the wiki from this tree (proves the generator works)
|
|
# test = tools/check.sh (lab compile + parse + no-slop guard + structure)
|
|
name: CI
|
|
on:
|
|
pull_request: {}
|
|
push:
|
|
branches: [main]
|
|
workflow_dispatch: {}
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: docker
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: build (render wiki) + test (check.sh)
|
|
shell: bash
|
|
run: |
|
|
set -euo pipefail
|
|
command -v python3 >/dev/null || { apt-get update && apt-get install -y --no-install-recommends python3 python3-pip; }
|
|
python3 -c "import yaml" 2>/dev/null || python3 -m pip install --quiet pyyaml 2>/dev/null || true
|
|
python3 tools/build_wiki.py --repo-root . --out /tmp/awc-wiki-build \
|
|
--web-base https://git.jpaul.io/justin/ai-workflow-course --branch main --host gitea
|
|
bash tools/check.sh
|