Skip to content

Commit e9431c0

Browse files
prithaxdevclaude
andcommitted
fix: treat pytest exit code 5 (no tests) as success
CI was failing because no tests exist yet. Exit code 5 means "no tests collected" — valid during early setup before Day 3. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 1c0faca commit e9431c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ jobs:
2828
run: pip install -e ".[dev]"
2929

3030
- name: Run tests
31-
run: pytest -v
31+
run: pytest -v || [ $? -eq 5 ]

0 commit comments

Comments
 (0)