Skip to content

Commit c100ee9

Browse files
authored
chore(fix): update lcov command to ignore unused errors
1 parent 3256398 commit c100ee9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
GCC_VERSION=`gcc --version | head -n1 | awk '{print $3}'`
102102
GCC_MAJOR_VERSION=$(echo $GCC_VERSION | cut -d. -f1,1)
103103
lcov --rc geninfo_unexecuted_blocks=1 --ignore-errors mismatch,unused --gcov-tool /usr/bin/gcov-${GCC_MAJOR_VERSION} -d . -c -o picasso.info
104-
lcov --remove picasso.info -o picasso.info '/usr/*' '*/proj/*' '*/unit_tests/*' '*/third_party/*'
104+
lcov --ignore-errors unused --remove picasso.info -o picasso.info '/usr/*' '*/proj/*' '*/unit_tests/*' '*/third_party/*'
105105
106106
- name: Upload coverage reports to Codecov
107107
if: ${{matrix.os == 'ubuntu-latest' && matrix.c_compiler == 'gcc' && matrix.build_type == 'Debug'}}

0 commit comments

Comments
 (0)