Skip to content

Commit da02c89

Browse files
committed
Fix workflows
1 parent ac279b3 commit da02c89

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/coverage.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ jobs:
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

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
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

0 commit comments

Comments
 (0)