Skip to content

Commit cb07c23

Browse files
committed
Try cargo-llvm-cov instead of cargo-tarpaulin
1 parent 0d183b1 commit cb07c23

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/coverage.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@ 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:
16-
- uses: actions/checkout@v3
17-
- run: cargo tarpaulin -f -t 5 --out Xml -v -- --test-threads=1
18-
- uses: codecov/codecov-action@v3
13+
- name: Install cargo-llvm-cov
14+
uses: taiki-e/install-action@cargo-llvm-cov
15+
- name: Generate code coverage
16+
run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
17+
- name: Upload coverage to Codecov
18+
uses: codecov/codecov-action@v3
19+
with:
20+
files: lcov.info

0 commit comments

Comments
 (0)