Commit 1f175c0
committed
Fail the coverage job when the report holds no records
The gcc capture failure left build/lcov.info absent, but the Codecov
and artifact steps run with if: always(), so the job still uploaded,
logged "No coverage reports found" as a non-fatal warning, and
published a stub artifact. A report that exists but carries no line
records would pass even that much in silence.
Assert at least one DA record on both legs before listing, so an empty
or missing report stops the job where it is produced instead of
surfacing later as a quiet gap in Codecov.1 parent 3f9511b commit 1f175c0
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
94 | 95 | | |
95 | 96 | | |
96 | 97 | | |
| |||
125 | 126 | | |
126 | 127 | | |
127 | 128 | | |
| 129 | + | |
128 | 130 | | |
129 | 131 | | |
130 | 132 | | |
| |||
0 commit comments