diff --git a/.github/workflows/ci-code.yml b/.github/workflows/ci-code.yml index 4fc5c73c..344d7614 100644 --- a/.github/workflows/ci-code.yml +++ b/.github/workflows/ci-code.yml @@ -113,7 +113,10 @@ jobs: make -j$(nproc) make check || true lcov --capture --directory . --output-file /coverage/coverage.info --ignore-errors inconsistent - lcov --remove /coverage/coverage.info "/usr/*" "*/tests/*" --output-file /coverage/coverage.info --ignore-errors inconsistent + lcov --remove /coverage/coverage.info \ + "/usr/include/*" "/usr/lib/*" "*/tests/*" \ + --output-file /coverage/coverage.info \ + --ignore-errors inconsistent,empty ' - name: Upload coverage to Codecov uses: codecov/codecov-action@v4