From 2accf8bbdf1986e4fcb8dfc8306d8b1a62eea328 Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Sun, 5 Nov 2023 02:56:45 -0500 Subject: [PATCH] Correct nextest command --- .github/workflows/coins-tests.yml | 2 +- .github/workflows/common-tests.yml | 2 +- .github/workflows/crypto-tests.yml | 2 +- .github/workflows/message-queue-tests.yml | 2 +- .github/workflows/mini-tests.yml | 2 +- .github/workflows/monero-tests.yaml | 6 +++--- .github/workflows/tests.yml | 6 +++--- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/coins-tests.yml b/.github/workflows/coins-tests.yml index 3358f140f..7fcbb894d 100644 --- a/.github/workflows/coins-tests.yml +++ b/.github/workflows/coins-tests.yml @@ -30,7 +30,7 @@ jobs: - name: Run Tests run: | - GITHUB_CI=true RUST_BACKTRACE=1 cargo nextest --all-features \ + GITHUB_CI=true RUST_BACKTRACE=1 cargo nextest run --all-features \ -p bitcoin-serai \ -p ethereum-serai \ -p monero-generators \ diff --git a/.github/workflows/common-tests.yml b/.github/workflows/common-tests.yml index 98341f7a3..b4d86ed3c 100644 --- a/.github/workflows/common-tests.yml +++ b/.github/workflows/common-tests.yml @@ -26,7 +26,7 @@ jobs: - name: Run Tests run: | - GITHUB_CI=true RUST_BACKTRACE=1 cargo nextest --all-features \ + GITHUB_CI=true RUST_BACKTRACE=1 cargo nextest run --all-features \ -p std-shims \ -p zalloc \ -p serai-db \ diff --git a/.github/workflows/crypto-tests.yml b/.github/workflows/crypto-tests.yml index 480e13a4b..041aa5dd0 100644 --- a/.github/workflows/crypto-tests.yml +++ b/.github/workflows/crypto-tests.yml @@ -28,7 +28,7 @@ jobs: - name: Run Tests run: | - GITHUB_CI=true RUST_BACKTRACE=1 cargo nextest --all-features \ + GITHUB_CI=true RUST_BACKTRACE=1 cargo nextest run --all-features \ -p flexible-transcript \ -p ff-group-tests \ -p dalek-ff-group \ diff --git a/.github/workflows/message-queue-tests.yml b/.github/workflows/message-queue-tests.yml index 714a6dd46..a950a3617 100644 --- a/.github/workflows/message-queue-tests.yml +++ b/.github/workflows/message-queue-tests.yml @@ -35,4 +35,4 @@ jobs: github-token: ${{ inputs.github-token }} - name: Run message-queue Docker tests - run: cd tests/message-queue && GITHUB_CI=true RUST_BACKTRACE=1 cargo nextest + run: cd tests/message-queue && GITHUB_CI=true RUST_BACKTRACE=1 cargo nextest run diff --git a/.github/workflows/mini-tests.yml b/.github/workflows/mini-tests.yml index 7dc908e58..bfaf9fd1b 100644 --- a/.github/workflows/mini-tests.yml +++ b/.github/workflows/mini-tests.yml @@ -25,4 +25,4 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} - name: Run Tests - run: GITHUB_CI=true RUST_BACKTRACE=1 cargo nextest --all-features -p mini-serai + run: GITHUB_CI=true RUST_BACKTRACE=1 cargo nextest run --all-features -p mini-serai diff --git a/.github/workflows/monero-tests.yaml b/.github/workflows/monero-tests.yaml index 4cd2f0b5b..1a79037d0 100644 --- a/.github/workflows/monero-tests.yaml +++ b/.github/workflows/monero-tests.yaml @@ -28,7 +28,7 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} - name: Run Unit Tests Without Features - run: GITHUB_CI=true RUST_BACKTRACE=1 cargo nextest --package monero-serai --lib + run: GITHUB_CI=true RUST_BACKTRACE=1 cargo nextest run --package monero-serai --lib # Doesn't run unit tests with features as the tests workflow will @@ -51,9 +51,9 @@ jobs: - name: Run Integration Tests Without Features # Runs with the binaries feature so the binaries build # https://github.com/rust-lang/cargo/issues/8396 - run: GITHUB_CI=true RUST_BACKTRACE=1 cargo nextest --package monero-serai --features binaries --test '*' + run: GITHUB_CI=true RUST_BACKTRACE=1 cargo nextest run --package monero-serai --features binaries --test '*' - name: Run Integration Tests # Don't run if the the tests workflow also will if: ${{ matrix.version != 'v0.18.2.0' }} - run: GITHUB_CI=true RUST_BACKTRACE=1 cargo nextest --package monero-serai --all-features --test '*' + run: GITHUB_CI=true RUST_BACKTRACE=1 cargo nextest run --package monero-serai --all-features --test '*' diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8342fed67..0025a80fe 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -38,7 +38,7 @@ jobs: - name: Run Tests run: | - GITHUB_CI=true RUST_BACKTRACE=1 cargo nextest --all-features \ + GITHUB_CI=true RUST_BACKTRACE=1 cargo nextest run --all-features \ -p serai-message-queue \ -p serai-processor-messages \ -p serai-processor \ @@ -59,7 +59,7 @@ jobs: - name: Run Tests run: | - GITHUB_CI=true RUST_BACKTRACE=1 cargo nextest --all-features \ + GITHUB_CI=true RUST_BACKTRACE=1 cargo nextest run --all-features \ -p serai-primitives \ -p serai-coins-primitives \ -p serai-coins-pallet \ @@ -82,4 +82,4 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} - name: Run Tests - run: GITHUB_CI=true RUST_BACKTRACE=1 cargo nextest --all-features -p serai-client + run: GITHUB_CI=true RUST_BACKTRACE=1 cargo nextest run --all-features -p serai-client