Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 2 additions & 12 deletions .github/workflows/stable-ids.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,15 @@ jobs:
with:
fetch-depth: 0

- uses: actions/setup-python@v6
with:
python-version: "3.12"

- uses: actions/setup-node@v4
with:
node-version: "20"

- name: Install the pinned engine (the gate ships with it)
run: npm install --no-save --no-package-lock --no-audit --no-fund "learn-content-engine@$(cat schema/engine-version.txt)"

- name: Install PyYAML
run: pip install "pyyaml>=6,<7"

- name: Stability gate against the PR base (shipped command)
run: npx --no-install learn-content-engine check-stable-ids --base origin/${{ github.base_ref }}

- name: Coverage ratchet self-test (every path must fire)
run: python scripts/check_stable_id_coverage.py --self-test

- name: Coverage ratchet
run: python scripts/check_stable_id_coverage.py
- name: Coverage gate (shipped command)
run: npx --no-install learn-content-engine check-stable-id-coverage
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ audit: $(VENV)/.ready
clean:
rm -rf $(VENV)

stable-ids: $(ENGINE_STAMP) ## Stabilitaets-Gate (mitgeliefert) + Abdeckungs-Ratchet (repo-lokal)
stable-ids: $(ENGINE_STAMP) ## Stabilitaets- und Abdeckungs-Gate (beide mitgeliefert)
npx --no-install learn-content-engine check-stable-ids --base origin/main
python3 scripts/check_stable_id_coverage.py --self-test
python3 scripts/check_stable_id_coverage.py
npx --no-install learn-content-engine check-stable-id-coverage
2 changes: 1 addition & 1 deletion schema/engine-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.16.1
0.17.0
170 changes: 0 additions & 170 deletions scripts/check_stable_id_coverage.py

This file was deleted.

Loading