File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 2121 command : |
2222 cmake -E make_directory build
2323 cmake -B build -DCMAKE_BUILD_TYPE=Debug -DTRAITS_TEST_COVERAGE=On -S .
24- cmake --build build --config Debug --target all
25- cmake --build build --config Debug --target test
26- cmake --build build --config Debug --target coverage
24+ cmake --build build --config Debug --target all test coverage
2725
2826 - name : Upload test coverage report to Codecov
2927 uses : codecov/codecov-action@v4
Original file line number Diff line number Diff line change 4545 run : cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }}
4646
4747 - name : Run tests
48- run : cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }} --target test
48+ run : ctest --output-on-failure -- build-config ${{ matrix.build_type }} --test-dir ${{ steps.strings.outputs.build-output-dir }}
4949
5050 - name : Run deployment test
5151 run : cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }} --target test.deploy
You can’t perform that action at this time.
0 commit comments