Skip to content

Commit

Permalink
Use llvm-cov for code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
eldruin committed May 5, 2024
1 parent b129c99 commit 6f19eb8
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build.yml
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 6f19eb8

Please sign in to comment.