Commit d3d7d29
committed
[report_result] Add testcase error detection and reporting
Previously, report_result.yml only checked for testcase failures but
ignored errors in the JUnit XML output. This meant that tests could
error out without causing the CI job to fail.
This change adds:
- Extraction of 'errors' count from XML testsuites
- Failure task that triggers when errors > 0
This ensures both failures and errors in testcases are properly
reported and cause the CI job to fail as expected.1 parent 5bb7fe6 commit d3d7d29
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
47 | 51 | | |
48 | 52 | | |
49 | 53 | | |
50 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
51 | 61 | | |
52 | 62 | | |
53 | 63 | | |
| |||
0 commit comments