From 898a6f3968c323885cfa8fa3b25ca8644d16d7bf Mon Sep 17 00:00:00 2001 From: Rob Date: Thu, 14 Nov 2024 10:32:05 -0500 Subject: [PATCH] use nextest --- .github/workflows/build.yml | 6 ++++-- .github/workflows/build_windows.yml | 6 ++++-- .github/workflows/debug_build.yml | 6 ++++-- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8038104..968f686 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -39,10 +39,12 @@ jobs: - name: Clippy run: cargo clippy --workspace --all-features --all-targets -- -D warnings + - name: Install nextest + run: cargo install cargo-nextest + - name: Test run: | - cargo test --workspace --release --all-features --no-run - cargo test --workspace --release --all-features --verbose -- --test-threads 2 + cargo nextest run --workspace --release --all-features --verbose --nocapture timeout-minutes: 60 - name: Generate Documentation diff --git a/.github/workflows/build_windows.yml b/.github/workflows/build_windows.yml index 6b66f4e..938d134 100644 --- a/.github/workflows/build_windows.yml +++ b/.github/workflows/build_windows.yml @@ -49,8 +49,10 @@ jobs: run: | cargo build --workspace --release + - name: Install nextest + run: cargo install cargo-nextest + - name: Test run: | - cargo test --workspace --release --all-features --no-run - cargo test --workspace --release --all-features --verbose -- --nocapture --test-threads 2 + cargo nextest run --workspace --release --all-features --verbose --nocapture timeout-minutes: 60 diff --git a/.github/workflows/debug_build.yml b/.github/workflows/debug_build.yml index 0c2e589..b47a875 100644 --- a/.github/workflows/debug_build.yml +++ b/.github/workflows/debug_build.yml @@ -37,8 +37,10 @@ jobs: run: | cargo build --workspace --all-features + - name: Install nextest + run: cargo install cargo-nextest + - name: Test run: | - cargo test --workspace --all-features --no-run - cargo test --workspace --all-features --verbose -- --test-threads 2 + cargo nextest run --workspace --all-features --verbose --nocapture timeout-minutes: 60