Skip to content

Commit ff5841f

Browse files
fix install grcov
1 parent cf890bd commit ff5841f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/codecov.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,11 @@ jobs:
3030
- uses: actions-rs/cargo@v1
3131
continue-on-error: true
3232
- run: |
33-
cargo install --force grcov;
33+
cargo binstall -y grcov;
3434
cargo test --all-features;
3535
cargo test discv5_echo -- --ignored;
3636
cargo test default_echo -- --ignored;
37+
rm -rf /tmp/cov;
3738
mkdir /tmp/cov;
3839
grcov . --binary-path ./target/debug/ -s . -t lcov --branch --ignore-not-existing --ignore '../*' --ignore "/*" -o /tmp/cov/tests.lcov;
3940
- uses: codecov/codecov-action@v3

0 commit comments

Comments
 (0)