Skip to content

Commit

Permalink
Use cargo llvm-cov
Browse files Browse the repository at this point in the history
  • Loading branch information
eldruin committed May 4, 2024
1 parent b2763f2 commit 0ee163a
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,16 +93,15 @@ jobs:
coverage:
name: Coverage
runs-on: ubuntu-latest
container:
image: xd009642/tarpaulin:latest
options: --security-opt seccomp=unconfined
steps:

- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable

- name: Run cargo-tarpaulin
run: cargo tarpaulin --out Lcov -- --test-threads 1
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov

- name: Generate code coverage
run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info

- name: upload to Coveralls
uses: coverallsapp/github-action@master
Expand Down

0 comments on commit 0ee163a

Please sign in to comment.