Skip to content

Commit

Permalink
Update coverage-check.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gitcoindev authored Oct 25, 2023
1 parent aa435b6 commit cb12e3e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/coverage-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,12 @@ jobs:
working-directory: packages/contracts
run: |
# generates lcov.info
forge install
forge build && forge coverage --report lcov
# Foundry uses relative paths but Hardhat uses absolute paths.
# Convert absolute paths to relative paths for consistency.
# sed -i -e 's/\/.*solidity.//g' lcov.info
sed -i -e 's/\/.*solidity.//g' lcov.info
# Merge lcov files
lcov \
Expand Down

0 comments on commit cb12e3e

Please sign in to comment.