File tree Expand file tree Collapse file tree 8 files changed +17
-12
lines changed
actions/build-dependencies Expand file tree Collapse file tree 8 files changed +17
-12
lines changed Original file line number Diff line number Diff line change 54
54
components : ${{ inputs.rust-components }}
55
55
targets : wasm32-unknown-unknown, riscv32imac-unknown-none-elf
56
56
57
+ - name : Install nextest
58
+ shell : bash
59
+ run : cargo install cargo-nextest --locked
60
+
57
61
# - name: Cache Rust
58
62
# uses: Swatinem/rust-cache@a95ba195448af2da9b00fb742d14ffaaf3c21f43
Original file line number Diff line number Diff line change 30
30
31
31
- name : Run Tests
32
32
run : |
33
- GITHUB_CI=true RUST_BACKTRACE=1 cargo test --all-features \
33
+ GITHUB_CI=true RUST_BACKTRACE=1 cargo nextest --all-features \
34
34
-p bitcoin-serai \
35
35
-p ethereum-serai \
36
36
-p monero-generators \
Original file line number Diff line number Diff line change 26
26
27
27
- name : Run Tests
28
28
run : |
29
- GITHUB_CI=true RUST_BACKTRACE=1 cargo test --all-features \
29
+ GITHUB_CI=true RUST_BACKTRACE=1 cargo nextest --all-features \
30
30
-p std-shims \
31
31
-p zalloc \
32
32
-p serai-db \
Original file line number Diff line number Diff line change 28
28
29
29
- name : Run Tests
30
30
run : |
31
- GITHUB_CI=true RUST_BACKTRACE=1 cargo test --all-features \
31
+ GITHUB_CI=true RUST_BACKTRACE=1 cargo nextest --all-features \
32
32
-p flexible-transcript \
33
33
-p ff-group-tests \
34
34
-p dalek-ff-group \
Original file line number Diff line number Diff line change 35
35
github-token : ${{ inputs.github-token }}
36
36
37
37
- 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
Original file line number Diff line number Diff line change 25
25
github-token : ${{ secrets.GITHUB_TOKEN }}
26
26
27
27
- 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
Original file line number Diff line number Diff line change 28
28
github-token : ${{ secrets.GITHUB_TOKEN }}
29
29
30
30
- 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
32
32
33
33
# Doesn't run unit tests with features as the tests workflow will
34
34
51
51
- name : Run Integration Tests Without Features
52
52
# Runs with the binaries feature so the binaries build
53
53
# 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 '*'
55
55
56
56
- name : Run Integration Tests
57
57
# Don't run if the the tests workflow also will
58
58
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 '*'
Original file line number Diff line number Diff line change @@ -38,13 +38,14 @@ jobs:
38
38
39
39
- name : Run Tests
40
40
run : |
41
- GITHUB_CI=true RUST_BACKTRACE=1 cargo test --all-features \
41
+ GITHUB_CI=true RUST_BACKTRACE=1 cargo nextest --all-features \
42
42
-p serai-message-queue \
43
43
-p serai-processor-messages \
44
44
-p serai-processor \
45
45
-p tendermint-machine \
46
46
-p tributary-chain \
47
- -p serai-coordinator
47
+ -p serai-coordinator \
48
+ -p serai-docker-tests
48
49
49
50
test-substrate :
50
51
runs-on : ubuntu-latest
58
59
59
60
- name : Run Tests
60
61
run : |
61
- GITHUB_CI=true RUST_BACKTRACE=1 cargo test --all-features \
62
+ GITHUB_CI=true RUST_BACKTRACE=1 cargo nextest --all-features \
62
63
-p serai-primitives \
63
64
-p serai-coins-primitives \
64
65
-p serai-coins-pallet \
81
82
github-token : ${{ secrets.GITHUB_TOKEN }}
82
83
83
84
- 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
You can’t perform that action at this time.
0 commit comments