Skip to content

Commit 5fad164

Browse files
tconley1428claude
andcommitted
fix: propagate unit test exit codes in CI workflow
Add --exit-code-from flag to docker compose command to ensure unit test failures properly fail the GitHub Actions job. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 6244cbe commit 5fad164

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
- name: Run unit tests
2727
run: |
28-
docker compose -f ./docker/github/docker-compose.yaml up unit-test
28+
docker compose -f ./docker/github/docker-compose.yaml up --exit-code-from unit-test unit-test
2929
3030
code_format:
3131
name: Code format

0 commit comments

Comments
 (0)