File tree Expand file tree Collapse file tree 2 files changed +16
-3
lines changed
Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -20,16 +20,16 @@ jobs:
2020
2121 steps :
2222 - uses : actions/checkout@v4
23- - name : download grcov for code coverage
24- run : curl -L https://github.com/mozilla/grcov/releases/latest/download/grcov-x86_64-unknown-linux-gnu.tar.bz2 | tar jxf -
2523 - name : install llvm tools preview
2624 run : rustup component add llvm-tools-preview
25+ - name : install grcov
26+ run : cargo install grcov --root .
2727 - name : Build
2828 run : cargo build --all-features
2929 - name : Run tests
3030 run : LLVM_PROFILE_FILE="your_name-%p-%m.profraw" cargo test --all-features
3131 - name : Generate lcov.info for Code coverage
32- run : ./grcov . --binary-path ./target/debug/ -s . -t lcov --branch --ignore-not-existing --ignore "/*" -o lcov.info
32+ run : ./bin/ grcov . --binary-path ./target/debug/ -s . -t lcov --branch --ignore-not-existing --ignore "src/tests /*" -o lcov.info
3333 - name : Codecov
3434 uses : codecov/codecov-action@v5.1.1
3535 with :
Original file line number Diff line number Diff line change 1+ comment :
2+ layout : " condensed_header, diff, flags, components"
3+
4+ component_management :
5+ individual_components :
6+ - component_id : v1.6
7+ name : v.1.6
8+ paths :
9+ - src/v1_6
10+ - component_id : v2.0
11+ name : v.2.0.1
12+ paths :
13+ - src/v2_0_1
You can’t perform that action at this time.
0 commit comments