Signed-off-by: Hadrien Croubois <hadrien.croubois@gmail.com> Co-authored-by: Ernesto García <ernestognw@gmail.com> Co-authored-by: Arr00 <13561405+arr00@users.noreply.github.com> Co-authored-by: Voronor <129545215+voronor@users.noreply.github.com> Co-authored-by: StackOverflowExcept1on <109800286+StackOverflowExcept1on@users.noreply.github.com> Co-authored-by: Michalis Kargakis <kargakis@protonmail.com>
This commit is contained in:
@ -14,7 +14,11 @@ if [ "${CI:-"false"}" == "true" ]; then
|
||||
# Foundry coverage
|
||||
forge coverage --report lcov --ir-minimum
|
||||
# Remove zero hits
|
||||
sed -i '/,0/d' lcov.info
|
||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
sed -i '' '/,0/d' lcov.info
|
||||
else
|
||||
sed -i '/,0/d' lcov.info
|
||||
fi
|
||||
fi
|
||||
|
||||
# Reports are then uploaded to Codecov automatically by workflow, and merged.
|
||||
|
||||
Reference in New Issue
Block a user