Skip to content

Commit

Permalink
add tarapulin using github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Raid5594 committed Nov 28, 2023
1 parent 8ab3b7b commit 9dcb095
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ jobs:
rustup update stable --no-self-update
rustup target add wasm32-unknown-unknown
- name: Install Tarpaulin
run: |
cargo install cargo-tarpaulin
- name: Check TOML
uses: dprint/[email protected]

Expand All @@ -46,6 +42,12 @@ jobs:
run: |
cargo clippy --no-deps --all-targets --features runtime-benchmarks --workspace -- --deny warnings
- name: Run cargo-tarpaulin
uses: actions-rs/[email protected]
with:
version: '0.15.0'
args: '--verbose --locked --no-fail-fast --workspace --features runtime-benchmarks --out "Xml"'
- name: Check Build
run: |
SKIP_WASM_BUILD=1 cargo check --release
Expand All @@ -55,10 +57,6 @@ jobs:
pushd node &&
cargo check --features=runtime-benchmarks --release
- name: Run Coverage
run: |
cargo tarpaulin --verbose --locked --no-fail-fast --workspace --features runtime-benchmarks --out "Xml"
- name: Upload coverage report
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 9dcb095

Please sign in to comment.