Skip to content

Commit

Permalink
feat: fix cargo-tarpaulin run failed issue in CI (#357)
Browse files Browse the repository at this point in the history
* fix: fix cargo-tarpaulin run failed

* fix: disable default features in cargo-tarpaulin ci
  • Loading branch information
liulifox233 authored Jan 3, 2025
1 parent d7c93e8 commit 9858402
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,14 @@ jobs:
toolchain: stable
override: true

- name: Run cargo-tarpaulin
uses: actions-rs/[email protected]
- name: Install cargo-tarpaulin
uses: baptiste0928/cargo-install@v3
with:
version: '0.22.0'
args: --no-default-features --features runtime-async-std,cached,glob,ip,watcher,logging,incremental,explain
crate: cargo-tarpaulin

- name: Run cargo-tarpaulin
run: |
cargo tarpaulin --no-default-features --features runtime-async-std,cached,glob,ip,watcher,logging,incremental,explain
- name: Upload to codecov.io
uses: codecov/codecov-action@v1
Expand Down

0 comments on commit 9858402

Please sign in to comment.