|
@@ -14,7 +14,11 @@ if [ "${CI:-"false"}" == "true" ]; then
|
|
# Foundry coverage
|
|
# Foundry coverage
|
|
forge coverage --report lcov --ir-minimum
|
|
forge coverage --report lcov --ir-minimum
|
|
# Remove zero hits
|
|
# 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
|
|
fi
|
|
|
|
|
|
# Reports are then uploaded to Codecov automatically by workflow, and merged.
|
|
# Reports are then uploaded to Codecov automatically by workflow, and merged.
|