Commit f514b11
fix: use pytest exit code for test detection instead of grep
pytest --collect-only exits 0 when tests exist, 5 when none found.
Previous grep-based check matched "test" in "no tests ran" summary.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 99908b6 commit f514b11
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
0 commit comments