Try cargo-llvm-cov

This commit is contained in:
Deirdre Connolly 2021-06-11 18:35:03 -04:00
parent ea3047d939
commit cc93deb133
1 changed files with 7 additions and 5 deletions

View File

@ -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