Skip to content

Commit

Permalink
Merge pull request #136 from elbeno/workflow-ctest-fix
Browse files Browse the repository at this point in the history
🐛 👷 Use `--output-on-failure` flag for `ctest`
  • Loading branch information
elbeno authored Aug 23, 2024
2 parents 51180be + a0f76db commit 6e04a58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ jobs:

- name: Test
working-directory: ${{github.workspace}}/build
run: ctest -j $(nproc) -C ${{matrix.build_type}}
run: ctest --output-on-failure -j $(nproc) -C ${{matrix.build_type}}

quality_checks_pass:
runs-on: ${{ github.repository_owner == 'intel' && 'intel-' || '' }}ubuntu-22.04
Expand Down Expand Up @@ -318,7 +318,7 @@ jobs:
- name: Test
working-directory: ${{github.workspace}}/build
run: |
ctest -j $(nproc) -E EXPECT_FAIL -T memcheck
ctest --output-on-failure -j $(nproc) -E EXPECT_FAIL -T memcheck
LOGFILE=$(ls ./Testing/Temporary/LastDynamicAnalysis_*.log)
FAILSIZE=$(du -c ./Testing/Temporary/MemoryChecker.* | tail -1 | cut -f1)
Expand Down

0 comments on commit 6e04a58

Please sign in to comment.