Skip to content

Commit

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

Signed-off-by: Ioannis Filippidis <[email protected]>
  • Loading branch information
johnyf committed Jun 24, 2024
1 parent eb4e5e6 commit c26e347
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 @@ -48,6 +48,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 c26e347

Please sign in to comment.