Skip to content

Commit 6d15950

Browse files
committed
ci: lcov: ignore branch exceptions
Using a lcov 1.x backwards-compatible rc config setting Refs: - #29765 (comment) - linux-test-project/lcov#209 (comment)
1 parent 4d63409 commit 6d15950

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -417,11 +417,15 @@ jobs:
417417
if: ${{ !cancelled() && github.event_name != 'schedule' }}
418418
run: |
419419
if [[ "${{ runner.os }}" != 'macOS' ]]; then
420-
lcov --rc lcov_branch_coverage=1 --capture --directory . \
420+
lcov --rc geninfo_no_exception_branch=1 --rc lcov_branch_coverage=1 \
421+
--capture \
422+
--directory . \
421423
--output-file coverage.info
422-
lcov --rc lcov_branch_coverage=1 --output-file coverage.info \
424+
lcov --rc geninfo_no_exception_branch=1 --rc lcov_branch_coverage=1 \
425+
--output-file coverage.info \
423426
--extract coverage.info $PWD/src/'*' $PWD/lib/'*'
424-
lcov --rc lcov_branch_coverage=1 --list coverage.info
427+
lcov --rc geninfo_no_exception_branch=1 --rc lcov_branch_coverage=1 \
428+
--list coverage.info
425429
find . -name '*.gc*' -delete
426430
else
427431
xcrun llvm-profdata merge -sparse default.*.profraw \

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy