Skip to content

Commit

Permalink
Make sure test output is captured
Browse files Browse the repository at this point in the history
Signed-off-by: Cole Miller <cole.miller@canonical.com>
  • Loading branch information
cole-miller committed Aug 27, 2024
1 parent 5c46637 commit 84db45f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,15 @@ jobs:
CC: ${{ matrix.compiler }}
LIBDQLITE_TRACE: 1
run: |
make check || (cat ./test-suite.log && false)
for bin in unit-test integration-test \
raft-core-fuzzy-test \
raft-core-integration-test \
raft-core-unit-test \
raft-uv-integration-test \
raft-uv-unit-test;
do ./$bin 2>&1 | tee -a test-suite.log || touch any-failed;
done
test '!' -e any-failed

- name: OnTestFailure
if: ${{ failure() }}
Expand Down

0 comments on commit 84db45f

Please sign in to comment.