Commit 0c2a275
authored
fix(ci): validate-tests-merge exits 1 on zero merged test files too (#8174)
#8167 fixed the per-shard --changed case (exits 0 with "No test files
found"), but --mergeReports exits 1 for the same condition -- a different
code path, not covered by that fix. Confirmed live: PR #8168 (the same
docs-only PR #8167 was meant to unblock) passed all 3 validate-tests shards
but still failed validate-tests-merge with "No test files found, exiting
with code 1", even with COVERAGE_NO_THRESHOLDS already disabling the
threshold check.
Only treats that exact case as success, and only when COVERAGE_NO_THRESHOLDS
is set (i.e. this run is the scoped case to begin with) -- in the unscoped
full-suite case, "no test files found" while merging is still a real
failure worth surfacing loudly.1 parent 83c8d70 commit 0c2a275
1 file changed
Lines changed: 18 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1207 | 1207 | | |
1208 | 1208 | | |
1209 | 1209 | | |
1210 | | - | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
| 1225 | + | |
| 1226 | + | |
| 1227 | + | |
1211 | 1228 | | |
1212 | 1229 | | |
1213 | 1230 | | |
| |||
0 commit comments