File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 26
26
with :
27
27
path : " **/cpm_modules"
28
28
key : ${{ github.workflow }}-cpm-modules-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
29
+
30
+ - name : install dependency
31
+ run : sudo apt-get install lcov
32
+
29
33
- name : Add conda to system path
30
34
run : |
31
35
# $CONDA is an environment variable pointing to the root of the miniconda directory
48
52
ctest --build-config Debug
49
53
50
54
- name : collect code coverage
51
- run : bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports"
55
+ run : |
56
+ lcov --directory . --capture --output-file coverage.info # capture coverage info
57
+ lcov --remove coverage.info '/usr/*' 'standalone/*' 'bench/*' --output-file coverage.info # filter out system
58
+ lcov --list coverage.info #debug info
59
+ bash <(curl -s https://codecov.io/bash) -f coverage.info || echo "Codecov did not collect coverage reports"
You can’t perform that action at this time.
0 commit comments