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 <[email protected]>
  • Loading branch information
cole-miller committed Aug 27, 2024
1 parent 5c46637 commit 519c768
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,20 @@ 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 || touch any-failed
done >test-suite.log 2>&1
test '!' -e any-failed
- name: OnTestFailure
if: ${{ failure() }}
uses: actions/upload-artifact@v3
with:
name: test-suite.log
path: test-suite.log
name: test-suite.log
path: test-suite.log

- name: Coverage
env:
Expand Down

0 comments on commit 519c768

Please sign in to comment.