Skip to content

Commit 89af718

Browse files
authored
Switch to cargo-llvm-cov for code coverage (#183)
1 parent 53704b1 commit 89af718

1 file changed

Lines changed: 4 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,14 @@ jobs:
2727
steps:
2828
- name: Checkout
2929
uses: actions/checkout@v4
30-
- name: Install Tarpaulin
31-
run: cargo install cargo-tarpaulin
30+
- name: Install cargo-llvm-cov
31+
uses: taiki-e/install-action@cargo-llvm-cov
3232
- name: Generate code coverage
33-
run: |
34-
cargo tarpaulin \
35-
--verbose \
36-
--all-features \
37-
--workspace \
38-
--timeout 120 \
39-
--out xml
33+
run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
4034
- name: Upload report
4135
uses: codecov/codecov-action@v5
4236
with:
4337
fail_ci_if_error: true
4438
token: ${{ secrets.CODECOV_TOKEN }}
4539
verbose: true
40+
files: lcov.info

0 commit comments

Comments
 (0)