Skip to content

Commit 784d585

Browse files
committed
x
1 parent 4c5eb24 commit 784d585

2 files changed

Lines changed: 10 additions & 15 deletions

File tree

.github/actions-rs/grcov.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
output-type: lcov
2+
output-file: ./lcov.info

.github/workflows/rust.yml

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,13 @@ jobs:
2525
- name: Run tests
2626
run: cargo test --verbose
2727

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
28+
- name: rust-grcov
29+
uses: actions-rs/grcov@v0.1
30+
- name: Codecov
31+
uses: codecov/codecov-action@v5
4032
with:
41-
file: ./coverage/lcov.info
42-
flags: unittests
43-
name: codecov-umbrella
33+
# Repository upload token - get it from codecov.io. Required only for private repositories
34+
# token: # optional
35+
# Specify whether the Codecov output should be verbose
36+
verbose: true
4437
fail_ci_if_error: true

0 commit comments

Comments
 (0)