From 12016592ebc78b00b95985dd551ef6a3f3a75319 Mon Sep 17 00:00:00 2001 From: messense Date: Wed, 13 Jul 2022 18:01:05 +0800 Subject: [PATCH] Run tests on CI with cargo-nextest --- .github/workflows/test.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 378287ccb..907ace6c7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,6 +41,8 @@ jobs: profile: minimal toolchain: stable override: true + - name: Install cargo-nextest + uses: taiki-e/install-action@nextest - name: Install aarch64-apple-darwin Rust target if: matrix.os == 'macos-latest' run: rustup target add aarch64-apple-darwin @@ -77,10 +79,7 @@ jobs: key: test-crates-${{ runner.os }}-${{ steps.rustup.outputs.rustc_hash }}-${{ hashFiles('test-crates/*/Cargo.lock') }} - name: cargo test - uses: actions-rs/cargo@v1 - with: - command: test - args: --features password-storage + run: cargo nextest run --features password-storage - uses: actions/setup-python@v4 with: python-version: "pypy-3.7"