Commit d0e23d1
ci: run the pytest step under bash so test failures fail the job
The "Test with pytest and report coverage" step runs two commands in one
block. On Windows the default pwsh shell only propagates the LAST command's
exit code, so a failing `coverage run -m pytest` followed by a passing
`coverage report` was reported as a green job — a false pass that masked a
real test failure. Forcing `shell: bash` (run with -eo pipefail) aborts on the
pytest failure on every OS.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent da1d0ac commit d0e23d1
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
50 | 54 | | |
51 | 55 | | |
52 | 56 | | |
0 commit comments