File tree 1 file changed +11
-8
lines changed
1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -84,18 +84,21 @@ jobs:
84
84
85
85
coverage :
86
86
runs-on : ubuntu-latest
87
+ env :
88
+ CARGO_TERM_COLOR : always
87
89
steps :
88
- - uses : actions/checkout@v2
90
+ - uses : actions/checkout@v3
89
91
- uses : actions-rs/toolchain@v1
90
92
with :
91
93
profile : minimal
92
94
toolchain : stable
93
95
override : true
94
- - uses : actions-rs/tarpaulin@v0.1
95
- - uses : codecov/codecov-action@v1.0.2
96
- with :
97
- token : ${{secrets.CODECOV_TOKEN}}
98
- - uses : actions/upload-artifact@v1
96
+ - name : Install cargo-llvm-cov
97
+ uses : taiki-e/install-action@cargo-llvm-cov
98
+ - name : Generate code coverage
99
+ run : cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
100
+ - name : Upload coverage to Codecov
101
+ uses : codecov/codecov-action@v3
99
102
with :
100
- name : code-coverage-report
101
- path : cobertura.xml
103
+ files : lcov.info
104
+ fail_ci_if_error : true
You can’t perform that action at this time.
0 commit comments