Commit 9973f48
Fix regex pattern to match AWK output format
The Python regex was expecting leading whitespace before class names,
but the AWK script outputs class names at the start of lines without
leading whitespace.
Changed regex from:
r'^\s+([\w\\]+)\s+Methods:...'
To:
r'^([\w\\]+)\s+Methods:...'
This allows the parser to correctly extract coverage data from lines like:
"Progress_Planner\Activity Methods: 55.56% ( 5/ 9) Lines: 91.92% ( 91/ 99)"
With base coverage at 0%, all files with coverage should now appear as
"new files" in the collapsible details section of the PR comment.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 3032edf commit 9973f48
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | | - | |
203 | | - | |
| 202 | + | |
| 203 | + | |
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
| |||
0 commit comments