diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index 0775a90832..a348aad9c3 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -22,7 +22,7 @@ jobs: - name: Capture baseline run: | mkdir -p coverage tmp - lcov --no-external --capture --initial --directory . --output-file ./tmp/lcov_base.info + lcov --no-external --capture --ignore-errors mismatch --initial --directory . --output-file ./tmp/lcov_base.info - name: Run tests run: | ./test-suite/quantlib-test-suite --log_level=message @@ -31,7 +31,7 @@ jobs: make -C Examples check-examples - name: Capture coverage run: | - lcov --no-external --capture --directory . --output-file ./tmp/lcov_run.info + lcov --no-external --capture --ignore-errors mismatch --directory . --output-file ./tmp/lcov_run.info lcov --add-tracefile ./tmp/lcov_base.info --add-tracefile ./tmp/lcov_run.info --output-file ./tmp/lcov_total.info lcov --remove ./tmp/lcov_total.info "$PWD/Examples/*" "$PWD/test-suite/*" --output-file ./coverage/lcov.info - name: Upload coverage to Coveralls