simplify codecov.yml

This commit is contained in:
Ivan Folgueira Bande 2025-10-10 18:40:40 +02:00
parent 2bad1f0e78
commit 19484cf19e
No known key found for this signature in database
GPG Key ID: 3C117481F89E24A7

View File

@ -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: