We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c45555d commit 53b5ffbCopy full SHA for 53b5ffb
.github/workflows/cmake-single-platform.yml
@@ -26,3 +26,20 @@ jobs:
26
# working-directory: ${{github.workspace}}/build
27
# run: ctest -C ${{env.BUILD_TYPE}}
28
29
+ coverage:
30
+ runs-on: ubuntu-latest
31
+ env:
32
+ BUILD_TYPE: Debug
33
+ steps:
34
+ - uses: actions/checkout@v4
35
+ - name: Configure CMake
36
+ run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
37
+ - name: Build
38
+ run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
39
+ - name: Test
40
+ working-directory: ${{github.workspace}}/build
41
+ run: ./vtkdiff --help
42
+ - name: Coverage
43
44
+ run: pipx run gcovr -r ${{github.workspace}}
45
+
0 commit comments