codecov add some echo logs

This commit is contained in:
Ivan Folgueira Bande 2025-10-07 21:16:05 +02:00
parent e59d74bec3
commit 7785c20dc9
No known key found for this signature in database
GPG Key ID: 3C117481F89E24A7

View File

@ -27,11 +27,16 @@ jobs:
- uses: actions-rs/cargo@v1
continue-on-error: true
- run: |
echo "Installing grcov";
cargo install grcov;
echo "Running tests";
cargo test --all-features;
echo "Running ignored tests for coverage";
cargo test discv5_echo -- --ignored;
echo "Running default_echo ignored tests for coverage";
cargo test default_echo -- --ignored;
mkdir /tmp/cov;
echo "Generating coverage report";
grcov . --binary-path ./target/debug/ -s . -t lcov --branch --ignore-not-existing --ignore '../*' --ignore "/*" -o /tmp/cov/tests.lcov;
- uses: codecov/codecov-action@v3
with: