Repository navigation
chore(build-pr): mirror the pr.yaml test-assembly coverage gate - #380
Merged
Merged
Conversation
-TestCoverageThreshold (default 100) for assemblies from projects under tests/, and anchor the Summary.txt parser on `^(\S+)` so indented class rows are no longer gated as projects. Also fail (not skip) when Summary.txt is missing or zero modules match. Ported from repo-template. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Sep 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
scripts/build-pr.ps1is the local mirror ofpr.yaml. This ports repo-template's coverage step so local runs match CI:-TestCoverageThresholdparameter (default 100) for assemblies from projects undertests/;Summary.txtparser is anchored on^(\S+)instead of^\s*(\S+), so indented class rows are no longer gated as projects;Summary.txtis missing or zero modules match.This is independent of the protected
pr.yaml/release.yamlPR; the two change different files.Verification
pwsh ./scripts/build-pr.ps1 -SkipSecurityon this branch: exit 0,Step 3: Coverage Report (src 90%, tests 100%),Wolfgang.TryPattern - 100%,Wolfgang.TryPattern.Tests.Unit - 100%,Coverage gate passed,All checks passed.Refs #310
🤖 Generated with Claude Code