Skip to content

Commit 4dbbc63

Browse files
committed
Try cargo-llvm-cov instead of cargo-tarpaulin
1 parent e134189 commit 4dbbc63

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/coverage.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,13 @@ on:
99
jobs:
1010
coverage:
1111
runs-on: ubuntu-latest
12-
container:
13-
image: xd009642/tarpaulin:latest
14-
options: --security-opt seccomp=unconfined
1512
steps:
1613
- uses: actions/checkout@v3
17-
- run: cargo tarpaulin -f -t 5 --out Xml -v -- --test-threads=1
18-
- uses: codecov/codecov-action@v3
14+
- name: Install cargo-llvm-cov
15+
uses: taiki-e/install-action@cargo-llvm-cov
16+
- name: Generate code coverage
17+
run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
18+
- name: Upload coverage to Codecov
19+
uses: codecov/codecov-action@v3
20+
with:
21+
files: lcov.info

0 commit comments

Comments
 (0)