Skip to content

Commit 846741f

Browse files
committed
nextest
1 parent 97fedf6 commit 846741f

File tree

8 files changed

+17
-12
lines changed

8 files changed

+17
-12
lines changed

.github/actions/build-dependencies/action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,9 @@ runs:
5454
components: ${{ inputs.rust-components }}
5555
targets: wasm32-unknown-unknown, riscv32imac-unknown-none-elf
5656

57+
- name: Install nextest
58+
shell: bash
59+
run: cargo install cargo-nextest --locked
60+
5761
# - name: Cache Rust
5862
# uses: Swatinem/rust-cache@a95ba195448af2da9b00fb742d14ffaaf3c21f43

.github/workflows/coins-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
- name: Run Tests
3232
run: |
33-
GITHUB_CI=true RUST_BACKTRACE=1 cargo test --all-features \
33+
GITHUB_CI=true RUST_BACKTRACE=1 cargo nextest --all-features \
3434
-p bitcoin-serai \
3535
-p ethereum-serai \
3636
-p monero-generators \

.github/workflows/common-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
- name: Run Tests
2828
run: |
29-
GITHUB_CI=true RUST_BACKTRACE=1 cargo test --all-features \
29+
GITHUB_CI=true RUST_BACKTRACE=1 cargo nextest --all-features \
3030
-p std-shims \
3131
-p zalloc \
3232
-p serai-db \

.github/workflows/crypto-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
- name: Run Tests
3030
run: |
31-
GITHUB_CI=true RUST_BACKTRACE=1 cargo test --all-features \
31+
GITHUB_CI=true RUST_BACKTRACE=1 cargo nextest --all-features \
3232
-p flexible-transcript \
3333
-p ff-group-tests \
3434
-p dalek-ff-group \

.github/workflows/message-queue-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ jobs:
3535
github-token: ${{ inputs.github-token }}
3636

3737
- name: Run message-queue Docker tests
38-
run: cd tests/message-queue && GITHUB_CI=true RUST_BACKTRACE=1 cargo test
38+
run: cd tests/message-queue && GITHUB_CI=true RUST_BACKTRACE=1 cargo nextest

.github/workflows/mini-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ jobs:
2525
github-token: ${{ secrets.GITHUB_TOKEN }}
2626

2727
- name: Run Tests
28-
run: GITHUB_CI=true RUST_BACKTRACE=1 cargo test --all-features -p mini-serai
28+
run: GITHUB_CI=true RUST_BACKTRACE=1 cargo nextest --all-features -p mini-serai

.github/workflows/monero-tests.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
github-token: ${{ secrets.GITHUB_TOKEN }}
2929

3030
- name: Run Unit Tests Without Features
31-
run: GITHUB_CI=true RUST_BACKTRACE=1 cargo test --package monero-serai --lib
31+
run: GITHUB_CI=true RUST_BACKTRACE=1 cargo nextest --package monero-serai --lib
3232

3333
# Doesn't run unit tests with features as the tests workflow will
3434

@@ -51,9 +51,9 @@ jobs:
5151
- name: Run Integration Tests Without Features
5252
# Runs with the binaries feature so the binaries build
5353
# https://github.com/rust-lang/cargo/issues/8396
54-
run: GITHUB_CI=true RUST_BACKTRACE=1 cargo test --package monero-serai --features binaries --test '*'
54+
run: GITHUB_CI=true RUST_BACKTRACE=1 cargo nextest --package monero-serai --features binaries --test '*'
5555

5656
- name: Run Integration Tests
5757
# Don't run if the the tests workflow also will
5858
if: ${{ matrix.version != 'v0.18.2.0' }}
59-
run: GITHUB_CI=true RUST_BACKTRACE=1 cargo test --package monero-serai --all-features --test '*'
59+
run: GITHUB_CI=true RUST_BACKTRACE=1 cargo nextest --package monero-serai --all-features --test '*'

.github/workflows/tests.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,14 @@ jobs:
3838

3939
- name: Run Tests
4040
run: |
41-
GITHUB_CI=true RUST_BACKTRACE=1 cargo test --all-features \
41+
GITHUB_CI=true RUST_BACKTRACE=1 cargo nextest --all-features \
4242
-p serai-message-queue \
4343
-p serai-processor-messages \
4444
-p serai-processor \
4545
-p tendermint-machine \
4646
-p tributary-chain \
47-
-p serai-coordinator
47+
-p serai-coordinator \
48+
-p serai-docker-tests
4849
4950
test-substrate:
5051
runs-on: ubuntu-latest
@@ -58,7 +59,7 @@ jobs:
5859

5960
- name: Run Tests
6061
run: |
61-
GITHUB_CI=true RUST_BACKTRACE=1 cargo test --all-features \
62+
GITHUB_CI=true RUST_BACKTRACE=1 cargo nextest --all-features \
6263
-p serai-primitives \
6364
-p serai-coins-primitives \
6465
-p serai-coins-pallet \
@@ -81,4 +82,4 @@ jobs:
8182
github-token: ${{ secrets.GITHUB_TOKEN }}
8283

8384
- name: Run Tests
84-
run: GITHUB_CI=true RUST_BACKTRACE=1 cargo test --all-features -p serai-client
85+
run: GITHUB_CI=true RUST_BACKTRACE=1 cargo nextest --all-features -p serai-client

0 commit comments

Comments
 (0)