Skip to content

Commit

Permalink
ci: test cobertura file size
Browse files Browse the repository at this point in the history
  • Loading branch information
antomor committed Sep 15, 2023
1 parent 3be18f7 commit d599910
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 @@ -117,13 +117,13 @@ jobs:
# ci_run cat dummy_prover.log
run: |
ci_run mkdir -p ./target/release/coverage/
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
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
- uses: codecov/codecov-action@v3
with:
files: ./lcov.info
files: ./coverage.cobertura.xml
flags: unit-tests
name: codecov-umbrella # optional
verbose: true # optional (default = false)
Expand Down

0 comments on commit d599910

Please sign in to comment.