mirror of
https://github.com/logos-messaging/logos-messaging-rust-bindings.git
synced 2026-01-07 16:33:08 +00:00
codecov add some echo logs
This commit is contained in:
parent
e59d74bec3
commit
7785c20dc9
5
.github/workflows/codecov.yml
vendored
5
.github/workflows/codecov.yml
vendored
@ -27,11 +27,16 @@ jobs:
|
|||||||
- uses: actions-rs/cargo@v1
|
- uses: actions-rs/cargo@v1
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
- run: |
|
- run: |
|
||||||
|
echo "Installing grcov";
|
||||||
cargo install grcov;
|
cargo install grcov;
|
||||||
|
echo "Running tests";
|
||||||
cargo test --all-features;
|
cargo test --all-features;
|
||||||
|
echo "Running ignored tests for coverage";
|
||||||
cargo test discv5_echo -- --ignored;
|
cargo test discv5_echo -- --ignored;
|
||||||
|
echo "Running default_echo ignored tests for coverage";
|
||||||
cargo test default_echo -- --ignored;
|
cargo test default_echo -- --ignored;
|
||||||
mkdir /tmp/cov;
|
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;
|
grcov . --binary-path ./target/debug/ -s . -t lcov --branch --ignore-not-existing --ignore '../*' --ignore "/*" -o /tmp/cov/tests.lcov;
|
||||||
- uses: codecov/codecov-action@v3
|
- uses: codecov/codecov-action@v3
|
||||||
with:
|
with:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user