Skip to content

Commit d3e1913

Browse files
committed
Cleanup code coverage to only include our header
1 parent 96e14c2 commit d3e1913

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/cmake.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,7 @@ jobs:
7171

7272
- name: Compute Code Coverage
7373
if: runner.os == 'Linux' && ${{matrix.platform.compiler}} == 'g++' && ${{matrix.build-type}} == 'Debug'
74-
run: gcov ${{github.workspace}}/build/tests/CMakeFiles/oup_tests.dir/runtime_tests.cpp.gcda && bash <(curl -s https://codecov.io/bash)
74+
run: |
75+
gcov ${{github.workspace}}/build/tests/CMakeFiles/oup_tests.dir/runtime_tests.cpp.gcda
76+
ls | grep '.gcov' | grep -v observable_unique_ptr | xargs -d"\n" rm
77+
bash <(curl -s https://codecov.io/bash)

0 commit comments

Comments
 (0)