We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77427e4 commit 865fdaaCopy full SHA for 865fdaa
ci/check-full-coverage.sh
@@ -4,10 +4,9 @@ set -euo pipefail
4
5
cd "$(dirname "$0")"/..
6
7
-forge clean && forge build && forge coverage --report lcov
+forge clean && forge build && forge coverage --no-match-coverage "(script|test|AllocatorV1)" --report lcov
8
9
-awk '/TN:/,/SF:test\//{if (!/SF:test\// && !/SF:script/ && !/SF:src\/AllocatorV1\.sol/) print; if (/TN:/ && /SF:test\//) exit}' lcov.info > lcov_without_tests.info
10
-summary=$(lcov --summary lcov_without_tests.info --rc lcov_branch_coverage=1)
+summary=$(lcov --summary lcov --summary lcov.info --rc branch_coverage=1)
11
12
lines_coverage=$(echo "$summary" | awk '/lines/{print $2}')
13
functions_coverage=$(echo "$summary" | awk '/functions/{print $2}')
0 commit comments