diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6ba84ef..7ecff86 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -189,7 +189,7 @@ jobs: # CODE COVERAGE - name: Code coverage - Capture coverage info if: ${{ startsWith(github.ref, 'refs/tags/') != true && matrix.os == 'ubuntu-latest' }} - run: lcov --directory . --capture --output-file coverage.info + run: lcov --directory . --capture --ignore-errors mismatch --output-file coverage.info - name: Code coverage - Filter out system, external, and unit test source files if: ${{ startsWith(github.ref, 'refs/tags/') != true && matrix.os == 'ubuntu-latest' }} run: lcov --remove coverage.info --output-file coverage_filter.info '/Library/*' '/usr/*' '*/test/*' '*/cmrc/*' '*/entry.cc' '*/simple_highlight.*'