File tree 2 files changed +15
-12
lines changed
2 files changed +15
-12
lines changed Original file line number Diff line number Diff line change 1
- branch : true
1
+ branch : false
2
2
ignore-not-existing : true
3
3
llvm : true
4
- filter : covered
5
4
output-type : lcov
6
- output-path : ./lcov.info
7
- excl-line : " #\\ [cfg\\ (test\\ )\\ ]"
8
- excl-start : " mod tests \\ {"
9
- excl-stop : " \\ }" git
5
+ output-file : ./lcov.info
Original file line number Diff line number Diff line change 10
10
CARGO_TERM_COLOR : always
11
11
12
12
jobs :
13
- codecov :
13
+ build :
14
+
14
15
runs-on : ubuntu-latest
16
+
15
17
steps :
16
18
- uses : actions/checkout@v3
17
19
- uses : actions-rs/toolchain@v1
18
20
with :
19
21
toolchain : nightly
20
22
override : true
21
- components : llvm-tools-preview
22
23
- name : Build
23
24
run : cargo build --verbose
24
25
- name : Run tests
@@ -27,13 +28,19 @@ jobs:
27
28
CARGO_INCREMENTAL : ' 0'
28
29
RUSTFLAGS : ' -Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests'
29
30
RUSTDOCFLAGS : ' -Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests'
30
- RUST_BACKTRACE : ' full'
31
31
- name : rust-grcov
32
- uses : xnuter/grcov@master
32
+ # You may pin to the exact commit or the version.
33
+ # uses: actions-rs/grcov@bb47b1ed7883a1502fa6875d562727ace2511248
34
+ uses :
actions-rs/[email protected]
33
35
with :
34
36
config : .github/config/grcov.yml
35
- - name : Upload coverage to Codecov
36
- uses : codecov/codecov-action@v3
37
+ - name : Codecov
38
+ # You may pin to the exact commit or the version.
39
+ # uses: codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378
40
+
37
41
with :
42
+ # Repository upload token - get it from codecov.io. Required only for private repositories
43
+ token : ${{ secrets.CODECOV_TOKEN }}
44
+ # Specify whether the Codecov output should be verbose
38
45
verbose : true
39
46
fail_ci_if_error : true
You can’t perform that action at this time.
0 commit comments