mirror of
https://github.com/Z3Prover/z3
synced 2026-06-01 14:47:51 +00:00
Fix code-coverage workflow by adding --merge-mode-functions to gcovr commands
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
parent
2e7cf9cc74
commit
46d13597ad
1 changed files with 2 additions and 2 deletions
4
.github/workflows/coverage.yml
vendored
4
.github/workflows/coverage.yml
vendored
|
|
@ -75,14 +75,14 @@ jobs:
|
||||||
- name: Gather coverage
|
- name: Gather coverage
|
||||||
run: |
|
run: |
|
||||||
cd ${{github.workspace}}
|
cd ${{github.workspace}}
|
||||||
gcovr --html coverage.html --gcov-ignore-parse-errors --gcov-executable "llvm-cov gcov" .
|
gcovr --html coverage.html --merge-mode-functions=separate --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-ignore-parse-errors --gcov-executable "llvm-cov gcov" -r `pwd`/src --object-directory `pwd`/build
|
gcovr --html-details ${{env.COV_DETAILS_PATH}}/coverage.html --merge-mode-functions=separate --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…
Add table
Add a link
Reference in a new issue