Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

ci(verify): plan job self-tests the planner and rejects TODO xfail reasons

Richie McIlroy051193d7d2b1
diff --git a/.github/workflows/engine-verify.yml b/.github/workflows/engine-verify.yml
index 0992c16c3..8a54dce63 100644
--- a/.github/workflows/engine-verify.yml
+++ b/.github/workflows/engine-verify.yml
@@ -67,6 +67,16 @@ jobs:
with:
persist-credentials: false
+ - name: Check the planner and expectations files
+ env:
+ RUSTUP_TOOLCHAIN: stable
+ run: |
+ python3 scripts/verify/plan.py test > /dev/null
+ if grep -rn --include='expectations*.toml' '^reason = "TODO' crates; then
+ echo "::error::blessed expectations still have TODO reasons: describe each failure (and link its fix) before merging"
+ exit 1
+ fi
+
- name: Tier
id: tier
env: