Skip to content

Commit 865fdaa

Browse files
committed
Update CI
1 parent 77427e4 commit 865fdaa

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ci/check-full-coverage.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@ set -euo pipefail
44

55
cd "$(dirname "$0")"/..
66

7-
forge clean && forge build && forge coverage --report lcov
7+
forge clean && forge build && forge coverage --no-match-coverage "(script|test|AllocatorV1)" --report lcov
88

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)
9+
summary=$(lcov --summary lcov --summary lcov.info --rc branch_coverage=1)
1110

1211
lines_coverage=$(echo "$summary" | awk '/lines/{print $2}')
1312
functions_coverage=$(echo "$summary" | awk '/functions/{print $2}')

0 commit comments

Comments
 (0)