Skip to content

Commit fb58bca

Browse files
kdaveadam900710
authored andcommitted
btrfs-progs: ci: fix lcov warnings on unexecuted blocks
There's a report on the CI after base ubuntu image update: geninfo: WARNING: /home/runner/work/btrfs-progs/btrfs-progs/common/device-scan.c:429: unexecuted block on non-branch line with non-zero hit count. Use "geninfo --rc geninfo_unexecuted_blocks=1 to set count to zero. (use "geninfo --ignore-errors gcov,gcov ..." to suppress this warning) Signed-off-by: David Sterba <[email protected]>
1 parent f3cc6f7 commit fb58bca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/coverage.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Generate lcov results
4545
run: |
4646
lcov -c -d . -o lcov-info
47-
genhtml -o lcov-out lcov-info
47+
genhtml --rc geninfo_unexecuted_blocks=1 -o lcov-out lcov-info
4848
- name: Save lcov results
4949
uses: actions/upload-artifact@v4
5050
with:

0 commit comments

Comments
 (0)