Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen committed Oct 13, 2023
1 parent 7856cef commit e94d908
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,22 +38,21 @@ jobs:
with:
save-cache: ${{ github.ref_name == 'main' }}

- name: Install cargo-nextest
if: runner.os != 'Windows'
uses: taiki-e/install-action@cargo-nextest
# - name: Install cargo-nextest
# if: runner.os != 'Windows'
# uses: taiki-e/install-action@cargo-nextest

- name: Cargo check
run: cargo ck

# NAPI crashes nextest on windows
# https://github.com/napi-rs/napi-rs/issues/1405
- name: Build cache by Cargo Check and Cargo Test
if: runner.os == 'Windows'
run: cargo test run --no-run --workspace --all-features

- name: Build cache by Cargo Check and Cargo Test
if: runner.os != 'Windows'
run: cargo nextest run --no-run --workspace --all-features
# - name: Build cache by Cargo Check and Cargo Test
# if: runner.os != 'Windows'
# run: cargo nextest run --no-run --workspace --all-features

wasm:
name: Check Wasm
Expand Down Expand Up @@ -191,14 +190,13 @@ jobs:
- name: Install Rust Toolchain
uses: ./.github/actions/rustup

- name: Install cargo-nextest
if: runner.os != 'Windows'
uses: taiki-e/install-action@cargo-nextest
# - name: Install cargo-nextest
# if: runner.os != 'Windows'
# uses: taiki-e/install-action@cargo-nextest

# NAPI crashes nextest on windows
# https://github.com/napi-rs/napi-rs/issues/1405
- if: runner.os == 'Windows'
run: cargo test
- run: cargo test

- if: runner.os != 'Windows'
run: cargo nextest run
# - if: runner.os != 'Windows'
# run: cargo nextest run

0 comments on commit e94d908

Please sign in to comment.