Skip to content

Commit b791f4f

Browse files
committed
fail test if verifier exited
1 parent 0191160 commit b791f4f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/test_end_to_end.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,11 @@ jobs:
9090
fi
9191
docker ps -a --filter name=verify --format "Container: {{.Names}} Status: {{.Status}}"
9292
docker logs integration-verify-1 || true
93+
EXIT_CODE=$(docker inspect --format='{{.State.ExitCode}}' integration-verify-1)
94+
if [ "$EXIT_CODE" -ne 0 ]; then
95+
echo "Container exited with code $EXIT_CODE"
96+
exit $EXIT_CODE
97+
fi
9398
9499
- name: Shutdown remaining services
95100
run: |

0 commit comments

Comments
 (0)