3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-02-12 11:54:07 +00:00

Merge pull request #8585 from Z3Prover/copilot/fix-gcovr-command-issue

Fix code-coverage workflow: add --merge-mode-functions flag to gcovr
This commit is contained in:
Nikolaj Bjorner 2026-02-11 08:52:51 -08:00 committed by GitHub
commit 7e80914de8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -75,14 +75,14 @@ jobs:
- name: Gather coverage
run: |
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 -
- name: Gather detailed coverage
run: |
cd ${{github.workspace}}
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 -
- name: Get date