Skip to content

Commit

Permalink
ci(pr): change code coverage generation
Browse files Browse the repository at this point in the history
  • Loading branch information
b-zee committed Sep 23, 2024
1 parent 17fd506 commit a1a9b78
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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:
Expand Down

0 comments on commit a1a9b78

Please sign in to comment.