Skip to content

Commit 9ec4bbb

Browse files
committed
use --ir-minimum flag
1 parent 66c5277 commit 9ec4bbb

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

.github/workflows/coverage.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@ name: Coverage
22

33
on:
44
push:
5-
branches: [ "main" ]
5+
branches: ["main"]
66
pull_request:
7-
branches: [ "main" ]
7+
branches: ["main"]
88

99
env:
1010
FOUNDRY_PROFILE: ci
1111

1212
jobs:
1313
coverage:
1414
runs-on: ubuntu-latest
15-
15+
1616
steps:
1717
- uses: actions/checkout@v4
1818
with:
@@ -23,13 +23,7 @@ jobs:
2323
with:
2424
version: nightly
2525

26-
- name: Run coverage
26+
- name: Generate Coverage Report
2727
run: |
28-
forge coverage --report lcov
29-
30-
- name: Upload coverage to Codecov
31-
uses: codecov/codecov-action@v3
32-
with:
33-
token: ${{ secrets.CODECOV_TOKEN }}
34-
files: ./lcov.info
35-
fail_ci_if_error: true
28+
echo "# Coverage Report" >> $GITHUB_STEP_SUMMARY
29+
forge coverage --report summary --ir-minimum >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)