Skip to content

Commit

Permalink
enables and asserts that forge coverage compiles and runs successfull…
Browse files Browse the repository at this point in the history
…y in ci (#13171)
  • Loading branch information
AmadiMichael authored and sigma committed Dec 19, 2024
1 parent 81da303 commit 6e61ba6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/contracts-bedrock/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ test-kontrol-no-build:

# Runs contract coverage.
coverage: build-go-ffi
forge coverage || (bash -c "forge coverage 2>&1 | grep -q 'Stack too deep' && echo -e '\\033[1;33mWARNING\\033[0m: Coverage failed with stack too deep, so overriding and exiting successfully' && exit 0 || exit 1")
forge coverage

# Runs contract coverage with lcov.
coverage-lcov: build-go-ffi
forge coverage --report lcov || (bash -c "forge coverage --report lcov 2>&1 | grep -q 'Stack too deep' && echo -e '\\033[1;33mWARNING\\033[0m: Coverage failed with stack too deep, so overriding and exiting successfully' && exit 0 || exit 1")
forge coverage --report lcov


########################################################
Expand Down

0 comments on commit 6e61ba6

Please sign in to comment.