@@ -32,66 +32,50 @@ jobs:
32
32
run : cargo check -p sc-simnode
33
33
34
34
tests :
35
- runs-on : ubuntu-latest
35
+ runs-on : arc-runner-set
36
36
steps :
37
37
- name : Checkout sources
38
38
uses : actions/checkout@v3
39
39
40
40
- uses : actions-rs/toolchain@v1
41
41
with :
42
42
toolchain : stable
43
-
44
- - uses : Swatinem/rust-cache@v1
45
43
- run : |
46
44
rustup target add wasm32-unknown-unknown
47
45
rustup component add rust-src
48
46
47
+ - uses : Swatinem/rust-cache@v1
48
+
49
49
- name : Install protoc
50
50
run : |
51
51
sudo apt-get update
52
52
sudo apt-get install -y protobuf-compiler build-essential
53
53
54
54
- name : Build all binaries
55
+ continue-on-error : true
55
56
run : |
56
57
cargo build --release --bins
57
58
58
59
- name : Aura Integration tests
60
+ continue-on-error : true
59
61
run : |
60
62
./target/release/aura-node simnode --dev --state-pruning=archive --blocks-pruning=archive &
61
63
sleep 20;
62
64
RUST_BACKTRACE=1 cargo test --release -p simnode-integration-tests --tests aura -- --nocapture
63
65
kill -9 $!
64
66
65
67
- name : Babe Integration tests
68
+ continue-on-error : true
66
69
run : |
67
70
./target/release/babe-node simnode --dev --state-pruning=archive --blocks-pruning=archive &
68
71
sleep 20;
69
72
RUST_BACKTRACE=1 cargo test --release -p simnode-integration-tests --tests babe -- --nocapture
70
73
kill -9 $!
71
74
72
75
- name : Parachain Integration tests
76
+ continue-on-error : true
73
77
run : |
74
78
./target/release/parachain-node simnode --dev --state-pruning=archive --blocks-pruning=archive &
75
79
sleep 20;
76
80
RUST_BACKTRACE=1 cargo test --release -p simnode-integration-tests --tests parachain -- --nocapture
77
81
kill -9 $!
78
-
79
- lint :
80
- runs-on : ubuntu-latest
81
- steps :
82
- - name : Checkout sources
83
- uses : actions/checkout@v3
84
-
85
- - name : Rust cache
86
- uses : Swatinem/rust-cache@v2
87
- with :
88
- cache-on-failure : true
89
-
90
- - name : Install nightly toolchain
91
- uses : dtolnay/rust-toolchain@master
92
- with :
93
- toolchain : nightly-2024-04-04
94
- components : rustfmt
95
-
96
- - name : Check format
97
- run : cargo fmt --all --check
0 commit comments