From a1a9b789dbcf5cf51330a0115d70e9d16749c8e0 Mon Sep 17 00:00:00 2001 From: Benno Zeeman Date: Mon, 23 Sep 2024 07:20:33 +0200 Subject: [PATCH] ci(pr): change code coverage generation --- .github/workflows/pr.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 74269d842..7869e2189 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -81,14 +81,11 @@ jobs: target key: ${{ runner.os }}-cargo-cache-${{ hashFiles('**/Cargo.lock') }} - # Run cargo tarpaulin & push result to coveralls.io - - name: rust-tarpaulin code coverage check - uses: actions-rs/tarpaulin@v0.1 - with: - args: "-v --release" - version: "0.15.0" - out-type: Lcov - timeout: 2000 + # Generate code coverage & push result to coveralls.io + - 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: Push code coverage results to coveralls.io uses: coverallsapp/github-action@master with: