Skip to content

Commit 0ee163a

Browse files
committed
Use cargo llvm-cov
1 parent b2763f2 commit 0ee163a

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,16 +93,15 @@ jobs:
9393
coverage:
9494
name: Coverage
9595
runs-on: ubuntu-latest
96-
container:
97-
image: xd009642/tarpaulin:latest
98-
options: --security-opt seccomp=unconfined
9996
steps:
100-
10197
- uses: actions/checkout@v4
10298
- uses: dtolnay/rust-toolchain@stable
10399

104-
- name: Run cargo-tarpaulin
105-
run: cargo tarpaulin --out Lcov -- --test-threads 1
100+
- name: Install cargo-llvm-cov
101+
uses: taiki-e/install-action@cargo-llvm-cov
102+
103+
- name: Generate code coverage
104+
run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
106105

107106
- name: upload to Coveralls
108107
uses: coverallsapp/github-action@master

0 commit comments

Comments
 (0)