Skip to content

Commit

Permalink
CI: cat logs (*.err and *.out) of test files (#68)
Browse files Browse the repository at this point in the history
upon failure of any tests.

Signed-off-by: Ioannis Filippidis <jfilippidis@gmail.com>
  • Loading branch information
johnyf authored Dec 5, 2024
1 parent c1c282e commit b09b8e9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,13 @@ jobs:
TEST_RESULT=$?
cat _build/default/test/tests.log
exit $TEST_RESULT
- name: show logs for each test file
if: failure()
run: |
find test -type f \
-name '*.err' -o \
-name '*.out' \
-exec cat '{}' \;
- name: Clone tlaplus/examples
uses: actions/checkout@v4
with:
Expand Down

0 comments on commit b09b8e9

Please sign in to comment.