Skip to content

Commit

Permalink
ci: make ctest output where tests fail if they do
Browse files Browse the repository at this point in the history
  • Loading branch information
GwnDaan committed Oct 7, 2023
1 parent 5471c44 commit a160e06
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
build-wrapper-linux-x86-64 --out-dir ${{ env.BUILD_WRAPPER_OUT_DIR }} cmake --build build/ --config ${{ env.BUILD_TYPE }}
- name: Run
working-directory: ${{github.workspace}}/build
run: ctest -C ${{ env.BUILD_TYPE }}
run: ctest -C ${{ env.BUILD_TYPE }} --rerun-failed --output-on-failure
- name: Collect coverage into one XML report
run: |
gcovr --sonarqube --exclude-throw-branches > coverage.xml
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
- name: Test
run: |
cd build
ctest -C ${{ env.BUILD_TYPE }}
ctest -C ${{ env.BUILD_TYPE }} --rerun-failed --output-on-failure
mac_os_build:
Expand All @@ -87,4 +87,4 @@ jobs:
- name: Test
run: |
cd build
ctest -C ${{ env.BUILD_TYPE }}
ctest -C ${{ env.BUILD_TYPE }} --rerun-failed --output-on-failure

0 comments on commit a160e06

Please sign in to comment.