From a5b1337e54f4c4b31ad0bb8c8ed8fc1b99c2c9b7 Mon Sep 17 00:00:00 2001 From: Igor Yalovoy Date: Fri, 25 Oct 2024 13:22:16 -0600 Subject: [PATCH] Update CI workflow to exclude 'src/nitro-contracts/*' from LCOV report in coverage generation. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f625f985..d08b0a62 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -132,7 +132,7 @@ jobs: run: sudo apt-get install -y lcov - name: Generate LCOV report - run: forge coverage --report lcov --allow-failure && mv lcov.info lcov-local.info && FOUNDRY_PROFILE=fork forge coverage --report lcov --allow-failure && mv lcov.info lcov-fork.info && lcov --add lcov-local.info --add lcov-fork.info -o lcov.info && rm lcov-local.info && rm lcov-fork.info && lcov --remove lcov.info -o lcov.info "test/*" "script/*" && genhtml lcov.info --branch-coverage --output-dir coverage + run: forge coverage --report lcov --allow-failure && mv lcov.info lcov-local.info && FOUNDRY_PROFILE=fork forge coverage --report lcov --allow-failure && mv lcov.info lcov-fork.info && lcov --add lcov-local.info --add lcov-fork.info -o lcov.info && rm lcov-local.info && rm lcov-fork.info && lcov --remove lcov.info -o lcov.info "test/*" "script/*" "src/nitro-contracts/*" && genhtml lcov.info --branch-coverage --output-dir coverage env: FOUNDRY_FUZZ_RUNS: 100 KINTO_RPC_URL: ${{ secrets.KINTO_RPC_URL }}