mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 04:03:39 +00:00
Update coverage CI (#6099)
Ignore errors withing `gcov` when using `gcovr`, as per https://github.com/gcovr/gcovr/issues/627. Co-authored-by: Andrei Lascu <al2510@bencher14.nms.kcl.ac.uk>
This commit is contained in:
parent
2fa60aa43c
commit
940d10ae6d
4
.github/workflows/coverage.yml
vendored
4
.github/workflows/coverage.yml
vendored
|
@ -76,14 +76,14 @@ jobs:
|
||||||
- name: Gather coverage
|
- name: Gather coverage
|
||||||
run: |
|
run: |
|
||||||
cd ${{github.workspace}}
|
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 -
|
cd -
|
||||||
|
|
||||||
- name: Gather detailed coverage
|
- name: Gather detailed coverage
|
||||||
run: |
|
run: |
|
||||||
cd ${{github.workspace}}
|
cd ${{github.workspace}}
|
||||||
mkdir cov-details
|
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 -
|
cd -
|
||||||
|
|
||||||
- name: Get date
|
- name: Get date
|
||||||
|
|
Loading…
Reference in a new issue