Skip to content

Commit

Permalink
fix: coverage from debug dir
Browse files Browse the repository at this point in the history
  • Loading branch information
romanzac committed Sep 16, 2024
1 parent 330e3fe commit 222d7f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/my_codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@ jobs:
rustup component add llvm-tools-preview
CARGO_INCREMENTAL=0 RUSTFLAGS='-Cinstrument-coverage' LLVM_PROFILE_FILE='cargo-test-%p-%m.profraw' cargo test --no-default-features --features libp2p --no-run
mkdir /tmp/cov;
grcov . --binary-path ./target/debug/deps/ -s . -t lcov --branch --ignore-not-existing --ignore '../*' --ignore "/*" -o /tmp/cov/tests.lcov;
grcov . --binary-path ./target/debug/ -s . -t lcov --branch --ignore-not-existing --ignore '../*' --ignore "/*" -o /tmp/cov/tests.lcov;
env:
SLOW_TEST_ENV: true
RISC0_DEV_MODE: true
- uses: actions/upload-artifact@v3
if: failure()
with:
Expand Down

0 comments on commit 222d7f7

Please sign in to comment.