Skip to content

Commit

Permalink
ci: test lcov file size
Browse files Browse the repository at this point in the history
  • Loading branch information
antomor committed Sep 15, 2023
1 parent 7e47bb0 commit 8032874
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci-iov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,13 @@ jobs:
ci_run cat api.log
ci_run cat dummy_prover.log
ci_run mkdir -p ./target/release/coverage/
ci_run "grcov . --binary-path ./target/release/deps/ -s . -t cobertura --branch --ignore-not-existing --ignore '../*' --ignore '/*' -o ./target/release/coverage/cobertura.xml"
docker compose -f docker-compose-runner.yml cp zk:/usr/src/zksync/target/release/coverage/cobertura.xml coverage.cobertura.xml
du coverage.cobertura.xml
ci_run "grcov . --binary-path ./target/release/deps/ -s . -t lcov --branch --ignore-not-existing --ignore '../*' --ignore '/*' -o ./target/release/coverage/lcov.info"
docker compose -f docker-compose-runner.yml cp zk:/usr/src/zksync/target/release/coverage/lcov.info lcov.info
du lcov.info
- uses: codecov/codecov-action@v3
with:
files: ./coverage.cobertura.xml
files: ./lcov.info
flags: unit-tests
name: codecov-umbrella # optional
verbose: true # optional (default = false)
Expand Down

0 comments on commit 8032874

Please sign in to comment.