From 19484cf19e0d68feff277ed431c0104f36e53327 Mon Sep 17 00:00:00 2001 From: Ivan Folgueira Bande Date: Fri, 10 Oct 2025 18:40:40 +0200 Subject: [PATCH] simplify codecov.yml --- .github/workflows/codecov.yml | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 7943b95..a93ab6c 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -39,24 +39,13 @@ jobs: - name: Clean previous builds run: cargo clean - - name: Run tests with coverage + - name: Run tests and generate coverage report run: | cargo test --all-features; cargo test discv5_echo -- --ignored; cargo test default_echo -- --ignored; - - - name: Generate coverage report - run: | - mkdir -p /tmp/cov - grcov ./target/debug/ \ - --binary-path ./target/debug/ \ - -s . \ - -t lcov \ - --branch \ - --ignore-not-existing \ - --ignore '../*' \ - --ignore '/*' \ - -o /tmp/cov/tests.lcov + mkdir /tmp/cov; + 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: