Skip to content

Commit

Permalink
use llvm-cov (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
danieleades authored Mar 19, 2022
1 parent 7c8de36 commit ba29969
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,15 @@ jobs:
toolchain: nightly
profile: minimal
override: true
components: llvm-tools-preview

- name: Run cargo-tarpaulin
uses: actions-rs/tarpaulin@v0.1
with:
args: --all-features --tests
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov

- name: Run llvm-cov
run: cargo llvm-cov --all-features --doctests --workspace --lcov --output-path lcov.info

- name: Upload to codecov.io
uses: codecov/codecov-action@v2.1.0
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
token: ${{secrets.CODECOV_TOKEN}}
files: lcov.info

0 comments on commit ba29969

Please # to comment.