Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6d15950

Browse files
committed
ci: lcov: ignore branch exceptions
Using a lcov 1.x backwards-compatible rc config settingRefs: -#29765 (comment) -linux-test-project/lcov#209 (comment)
1 parent4d63409 commit6d15950

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)

[8]ページ先頭

©2009-2025 Movatter.jp