diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index cc4b17fa..412ff602 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -758,7 +758,12 @@ jobs: threshold=${CODECOV_MINIMUM:-90} matched_count=0 - while read -r line; do + # IFS= so `read` preserves leading whitespace — otherwise ReportGenerator's + # indented per-class rows are un-indented before the `^[^ ]` module filter + # sees them and get gated as if they were assemblies (#386). Only bites once + # test assemblies are instrumented (IncludeTestAssembly); Stage 2's pwsh + # parser is unaffected. + while IFS= read -r line; do # Match lines with module names and percentages. The percent # capture is the LAST %-suffixed number on the line, matching # Stage 2's behavior — ReportGenerator Summary.txt rows often