Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added failure hook to discover timeouts in make check on ubuntu-20.04 #691

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading