Skip to content

Commit

Permalink
Try overriding lcov.info instead of creating new lcov.info.pruned file
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedrojok01 committed Mar 22, 2024
1 parent 4c7af41 commit 2779554
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,11 @@ jobs:
run: |
forge coverage --report lcov
sudo apt-get install lcov
lcov --remove ./lcov.info -o ./lcov.info.pruned 'script/**/*' 'test/**/*' 'src/mocks/**/*'
lcov --remove ./lcov.info -o ./lcov.info 'script/**/*' 'test/**/*' 'src/mocks/**/*'
working-directory: foundry

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./foundry/lcov.info.pruned
slug: Pedrojok01/PackMyNFT

0 comments on commit 2779554

Please sign in to comment.