diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 378287ccb..0b5db3b85 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" @@ -196,6 +195,8 @@ jobs: set -ex apk add cargo python3-dev libffi-dev py3-pip pip3 install cffi virtualenv + - name: Install cargo-nextest + uses: taiki-e/install-action@nextest - name: Cache cargo build uses: Swatinem/rust-cache@v1 with: @@ -208,7 +209,7 @@ jobs: - name: cargo test run: | # unset GITHUB_ACTIONS env var to disable zig related tests - env -u GITHUB_ACTIONS cargo test + env -u GITHUB_ACTIONS cargo nextest run test-auditwheel: name: Test Auditwheel