File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ output-type : lcov
2+ output-file : ./lcov.info
Original file line number Diff line number Diff line change @@ -16,29 +16,18 @@ jobs:
1616
1717 steps :
1818 - uses : actions/checkout@v3
19- - name : Install dependencies
20- run : |
21- sudo apt-get install -y llvm
22- cargo install grcov
2319 - name : Build
2420 run : cargo build --verbose
2521 - name : Run tests
2622 run : cargo test --verbose
2723
28- - name : Generate coverage report
29- run : |
30- grcov . \
31- --binary-path ./target/debug/ \
32- -s . \
33- -t lcov \
34- --llvm \
35- --branch \
36- --ignore-not-existing \
37- -o ./coverage/lcov.info
38- - name: Codecov
39- - uses : codecov/codecov-action@v5
24+ - name : rust-grcov
25+ uses : actions-rs/grcov@v0.1
26+ - name : Codecov
27+ uses : codecov/codecov-action@v5
4028 with :
41- file : ./coverage/lcov.info
42- flags : unittests
43- name : codecov-umbrella
29+ # Repository upload token - get it from codecov.io. Required only for private repositories
30+ # token: # optional
31+ # Specify whether the Codecov output should be verbose
32+ verbose : true
4433 fail_ci_if_error : true
You can’t perform that action at this time.
0 commit comments