Commit 51e46cc
Fix coverage merge step: correct artifact paths and error on missing files
upload-artifact@v5 preserves directory structure, so downloaded artifacts
land at e.g. minitest-coverage/coverage/coverage.xml, not
minitest-coverage/coverage.xml.
Also change the rescue from StandardError (which silently swallowed missing
file errors) to only catch REXML::ParseException, and add an explicit abort
for missing files.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 92e4d25 commit 51e46cc
2 files changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
329 | | - | |
| 329 | + | |
330 | 330 | | |
331 | 331 | | |
332 | 332 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
30 | | - | |
| 32 | + | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| |||
0 commit comments