Skip to content

Commit

Permalink
Ignore lcov error
Browse files Browse the repository at this point in the history
  • Loading branch information
lballabio committed Oct 12, 2024
1 parent 4bae791 commit 85e9489
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/coveralls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 85e9489

Please sign in to comment.