mirror of
https://github.com/logos-messaging/logos-messaging-rust-bindings.git
synced 2026-01-03 06:23:11 +00:00
simplify codecov.yml
This commit is contained in:
parent
2bad1f0e78
commit
19484cf19e
17
.github/workflows/codecov.yml
vendored
17
.github/workflows/codecov.yml
vendored
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user