-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(pr): change code coverage generation
- Loading branch information
Showing
1 changed file
with
5 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|