Skip to content

Commit

Permalink
Update CI workflow to exclude 'src/nitro-contracts/*' from LCOV repor…
Browse files Browse the repository at this point in the history
…t in coverage generation.
  • Loading branch information
ylv-io committed Oct 25, 2024
1 parent 450ae42 commit a5b1337
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit a5b1337

Please sign in to comment.