diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index abc8147ffc..9d223cdda1 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -23,30 +23,24 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v2 - - name: Install lcov run: | sudo apt-get install lcov id: lcov - - name: Install Foundry uses: foundry-rs/foundry-toolchain@v1 with: version: nightly - - name: Run coverage run: forge coverage --report lcov env: RPC_MAINNET: ${{ secrets.RPC_MAINNET }} RPC_HOLESKY: ${{ secrets.RPC_HOLESKY }} CHAIN_ID: ${{ secrets.CHAIN_ID }} - - name: Prune coverage report run: lcov --remove ./lcov.info -o ./lcov.info.pruned 'src/test/*' 'script/*' --ignore-errors inconsistent - - name: Generate reports run: genhtml -o report ./lcov.info.pruned - - name: Archive code coverage results uses: actions/upload-artifact@v4 with: