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 - uses: actions-rs/toolchain@v1.0.7
with: with:
toolchain: nightly toolchain: nightly
components: llvm-tools-preview
override: true override: true
- name: Run cargo-tarpaulin - name: Install rustfilt, cargo-llvm-cov cargo commands
uses: actions-rs/tarpaulin@v0.1.3 run: |
with: cargo install rustfilt
version: '0.16.0' cargo install cargo-llvm-cov --version 0.1.0-alpha.3
timeout: 300 - name: Generate code coverage
run: cargo llvm-cov --all-features --lcov > lcov.info
- name: Upload coverage report to Codecov - name: Upload coverage report to Codecov
uses: codecov/codecov-action@v1.5.2 uses: codecov/codecov-action@v1.5.2