Skip to content

Commit

Permalink
Update coverage CI (#6099)
Browse files Browse the repository at this point in the history
Ignore errors withing `gcov` when using `gcovr`, as per
gcovr/gcovr#627.

Co-authored-by: Andrei Lascu <[email protected]>
  • Loading branch information
AndreiL and Andrei Lascu authored Jun 20, 2022
1 parent 2fa60aa commit 940d10a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,14 @@ jobs:
- name: Gather coverage
run: |
cd ${{github.workspace}}
gcovr --html coverage.html --gcov-executable "llvm-cov gcov" .
gcovr --html coverage.html --gcov-ignore-parse-errors --gcov-executable "llvm-cov gcov" .
cd -
- name: Gather detailed coverage
run: |
cd ${{github.workspace}}
mkdir cov-details
gcovr --html-details ${{env.COV_DETAILS_PATH}}/coverage.html --gcov-executable "llvm-cov gcov" -r `pwd`/src --object-directory `pwd`/build
gcovr --html-details ${{env.COV_DETAILS_PATH}}/coverage.html --gcov-ignore-parse-errors --gcov-executable "llvm-cov gcov" -r `pwd`/src --object-directory `pwd`/build
cd -
- name: Get date
Expand Down

0 comments on commit 940d10a

Please sign in to comment.