Skip to content

Commit 7b63aac

Browse files
committed
forgot to specify when coverage should run
1 parent 674d4c7 commit 7b63aac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/cmake-multi-platform.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,11 @@ jobs:
9797
run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }} -j
9898

9999
- name: Test
100-
if: matrix.os == 'windows-latest'
100+
if: steps.strings.outputs.enable_coverage == 'OFF'
101101
working-directory: ${{ steps.strings.outputs.build-output-dir }}/tests
102102
run: ctest --build-config ${{ matrix.build_type }} --output-on-failure
103103

104104
- name: Test + Coverage
105-
if: matrix.os != 'windows-latest'
105+
if: steps.strings.outputs.enable_coverage == 'ON'
106106
working-directory: ${{ steps.strings.outputs.build-output-dir }}/tests
107107
run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }} -t coverage

0 commit comments

Comments
 (0)