From 0ae672aa393e896f0263fec30690e106fb09e3b7 Mon Sep 17 00:00:00 2001 From: Justin Brower Date: Mon, 17 Jun 2024 11:08:19 -0400 Subject: [PATCH] chore: enable code coverage --- .github/workflows/coverage.yml | 6 ------ 1 file changed, 6 deletions(-) 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: