Skip to content

Commit

Permalink
Expose test error logs directly in the action logs
Browse files Browse the repository at this point in the history
  • Loading branch information
gjanssens committed Jul 8, 2021
1 parent 7b7d2d6 commit 0061e21
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci-tests.yml
Expand Up @@ -30,6 +30,8 @@ jobs:
cd build
ninja
ninja check
env:
CTEST_OUTPUT_ON_FAILURE: On
- uses: actions/upload-artifact@v2
if: failure()
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/mac-tests.yaml
Expand Up @@ -47,6 +47,8 @@ jobs:
cd build
ninja
ninja check
env:
CTEST_OUTPUT_ON_FAILURE: On
- uses: actions/upload-artifact@v2
if: failure()
with:
Expand Down
1 change: 1 addition & 0 deletions util/ci/actions/archlinux-test/entrypoint.sh
Expand Up @@ -6,6 +6,7 @@ mkdir build
cd build
export TZ="America/Los_Angeles"
export PATH="$PATH:/usr/bin/core_perl"
export CTEST_OUTPUT_ON_FAILURE=On
cmake /github/workspace -DWITH_PYTHON=ON -DCMAKE_BUILD_TYPE=debug -G Ninja
ninja
ninja check
Expand Down

0 comments on commit 0061e21

Please sign in to comment.