Commit 3435fcc1 authored by Michael Amadi's avatar Michael Amadi Committed by GitHub

enables and asserts that forge coverage compiles and runs successfully in ci (#13171)

parent e1e5d063
...@@ -58,11 +58,11 @@ test-kontrol-no-build: ...@@ -58,11 +58,11 @@ test-kontrol-no-build:
# Runs contract coverage. # Runs contract coverage.
coverage: build-go-ffi 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. # Runs contract coverage with lcov.
coverage-lcov: build-go-ffi 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
######################################################## ########################################################
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment