Skip to content

Commit

Permalink
Correct nextest command
Browse files Browse the repository at this point in the history
  • Loading branch information
kayabaNerve committed Nov 5, 2023
1 parent 846741f commit 2accf8b
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coins-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/common-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/crypto-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/message-queue-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/mini-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 3 additions & 3 deletions .github/workflows/monero-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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 '*'
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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 \
Expand All @@ -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

0 comments on commit 2accf8b

Please sign in to comment.