Skip to content

Commit

Permalink
Merge pull request #691 from just-now/discovering-timeouts-on-ubuntu-…
Browse files Browse the repository at this point in the history
…20.04

Added failure hook to discover timeouts in make check on ubuntu-20.04
  • Loading branch information
cole-miller committed Aug 27, 2024
2 parents 5248296 + 27eeeaf commit efcad52
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +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 2>&1 | tee -a test-suite.log
test '!' -e any-failed
- name: OnTestFailure
if: ${{ failure() }}
uses: actions/upload-artifact@v3
with:
name: test-suite.log
path: test-suite.log

- name: Coverage
env:
Expand Down

0 comments on commit efcad52

Please sign in to comment.