commit c3cdced6d54a3e0c2e83b19e1f83aef011748e05
parent 97d6dcb9233db7dd088e78f14bbab6f50505bf59
Author: triesap <tyson@radroots.org>
Date: Sat, 21 Feb 2026 18:40:49 +0000
ci: add blocking `radroots-types` coverage gate to sdk workflow
- add enforce blocking types coverage gate step in `.github/workflows/sdk-coverage-ci.yml`
- run xtask coverage report for `radroots-types` with 100/100/100 thresholds
- require branch coverage for the `radroots-types` blocking lane
- upload `target/sdk-coverage/radroots_types/coverage-gate-blocking.json` as a CI artifact
Diffstat:
1 file changed, 15 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/sdk-coverage-ci.yml b/.github/workflows/sdk-coverage-ci.yml
@@ -77,6 +77,20 @@ jobs:
--fail-under-branches 100 \
--require-branches
+ - name: enforce blocking types coverage gate
+ run: |
+ set -euo pipefail
+ types_dir="target/sdk-coverage/radroots_types"
+ cargo run -q -p xtask -- sdk coverage report \
+ --scope "radroots-types-blocking" \
+ --summary "${types_dir}/coverage-summary.json" \
+ --lcov "${types_dir}/coverage-lcov.info" \
+ --out "${types_dir}/coverage-gate-blocking.json" \
+ --fail-under-exec-lines 100 \
+ --fail-under-functions 100 \
+ --fail-under-branches 100 \
+ --require-branches
+
- name: upload sdk coverage reports
uses: actions/upload-artifact@v4
with:
@@ -84,3 +98,4 @@ jobs:
path: |
target/sdk-coverage/**/coverage-gate-summary.json
target/sdk-coverage/radroots_core/coverage-gate-blocking.json
+ target/sdk-coverage/radroots_types/coverage-gate-blocking.json