Skip to content

Commit

Permalink
fix coverage (#594)
Browse files Browse the repository at this point in the history
* fix coverage

* keep mkdn fmt
  • Loading branch information
snreynolds authored Apr 23, 2024
1 parent bd6cce2 commit bf1e7d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: |
{
echo 'COVERAGE<<EOF'
forge coverage | grep -v 'test/' | tail -n +6
forge coverage | grep '^|' | grep -v 'test/'
echo EOF
} >> "$GITHUB_OUTPUT"
env:
Expand All @@ -52,7 +52,7 @@ jobs:
const currentCoverage = fs.readFileSync(file, "utf8").trim();
const newCoverage = (`${{ steps.coverage.outputs.COVERAGE }}`).trim();
if (newCoverage != currentCoverage) {
core.setFailed(`Code coverage not updated. Run : forge coverage | grep -v 'test/' | tail -n +6 > coverage.txt`);
core.setFailed(`Code coverage not updated. Run : forge coverage | grep '^|' | grep -v 'test/' > coverage.txt`);
}
- name: Comment on PR
Expand Down

0 comments on commit bf1e7d0

Please sign in to comment.