Commit c3b13f6
committed
fix(test): handle pytest collection exit code 5 as no tests found
When pytest collects no tests, it exits with code 5 which should be treated as a valid state indicating no tests rather than an error. This change properly handles this exit code in the test workflow metadata collection step, preventing false negative workflow failures. Also moved the EAGER_IMPORT environment variable definition to the job level for better organization.
The fetch-depth comment was updated to reference Codecov's documentation instead of the previous unclear reasoning.1 parent dab9a5b commit c3b13f6
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
43 | 48 | | |
44 | 49 | | |
45 | 50 | | |
| |||
50 | 55 | | |
51 | 56 | | |
52 | 57 | | |
| 58 | + | |
| 59 | + | |
53 | 60 | | |
54 | 61 | | |
55 | 62 | | |
56 | 63 | | |
57 | | - | |
| 64 | + | |
58 | 65 | | |
59 | 66 | | |
60 | 67 | | |
| |||
0 commit comments