Try cargo-llvm-cov
This commit is contained in:
parent
ea3047d939
commit
cc93deb133
|
@ -63,11 +63,13 @@ jobs:
|
|||
- uses: actions-rs/toolchain@v1.0.7
|
||||
with:
|
||||
toolchain: nightly
|
||||
components: llvm-tools-preview
|
||||
override: true
|
||||
- name: Run cargo-tarpaulin
|
||||
uses: actions-rs/tarpaulin@v0.1.3
|
||||
with:
|
||||
version: '0.16.0'
|
||||
timeout: 300
|
||||
- name: Install rustfilt, cargo-llvm-cov cargo commands
|
||||
run: |
|
||||
cargo install rustfilt
|
||||
cargo install cargo-llvm-cov --version 0.1.0-alpha.3
|
||||
- name: Generate code coverage
|
||||
run: cargo llvm-cov --all-features --lcov > lcov.info
|
||||
- name: Upload coverage report to Codecov
|
||||
uses: codecov/codecov-action@v1.5.2
|
||||
|
|
Loading…
Reference in New Issue