Skip to content

Commit

Permalink
Make CI logs better in case of hung tests
Browse files Browse the repository at this point in the history
raxod502 committed Dec 11, 2022
1 parent 3c0b374 commit 45ed957
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -22,7 +22,10 @@ jobs:
image="$(< ./test/integration/ci_image)"
docker pull "${image}"
docker tag "${image}" sleeping-beauty-integration-test:latest
# Pass -v because some tests might hang if they were implemented
# incorrectly, and debugging this will be a lot easier if you
# can see the incomplete log output.
- name: Unit tests
run: "make test-unit"
run: "make test-unit TEST_FLAGS=-v"
- name: Integration tests
run: "make test-integration"
run: "make test-integration TEST_FLAGS=-v"

0 comments on commit 45ed957

Please sign in to comment.