diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c7f03baf8..24ad1162a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -684,9 +684,8 @@ jobs: done dir="./build" - lcov --rc lcov_branch_coverage=0 --gcov-tool "$gcov_tool" --directory "$dir" --capture --output-file "$dir/all.info" --ignore-errors inconsistent,negative --no-external - lcov --rc lcov_branch_coverage=0 --remove "$dir/all.info" "/usr/*" "/lib/*" "/opt/*" --ignore-errors unused,negative --output-file "$dir/all.info" - lcov --rc lcov_branch_coverage=0 --ignore-errors inconsistent,negative --list "$dir/all.info" + lcov --rc branch_coverage=0 --gcov-tool "$gcov_tool" --directory "$dir" --capture --output-file "$dir/all.info" --ignore-errors inconsistent,negative + lcov --rc branch_coverage=0 --ignore-errors inconsistent,negative --list "$dir/all.info" echo "file=$(realpath "$dir/all.info")" >> $GITHUB_OUTPUT - name: Upload Coverage as Artifact