@@ -40,7 +40,7 @@ permissions:
4040 contents : read
4141
4242jobs :
43- remote-net-test :
43+ remote-net-test-service :
4444 runs-on : ubuntu-latest-8-cores
4545 timeout-minutes : 40
4646
6969 run : |
7070 cargo test -p linera-service remote_net_grpc --features remote-net
7171
72+ remote-net-test-scylladb :
73+ runs-on : ubuntu-latest-8-cores
74+ timeout-minutes : 40
75+
76+ steps :
77+ - uses : actions/checkout@v3
78+ - uses : actions-rust-lang/setup-rust-toolchain@v1
79+ - name : Install Protoc
80+ uses : arduino/setup-protoc@v1
81+ with :
82+ repo-token : ${{ secrets.GITHUB_TOKEN }}
83+ - name : Setup local ScyllaDB instance
84+ run : |
85+ docker run --name my_scylla_container -d -p 9042:9042 scylladb/scylla:6.1
86+ - name : Run the validators
87+ run : |
88+ cargo build --features scylladb
89+ mkdir /tmp/local-linera-net
90+ cargo run --features scylladb --bin linera -- net up --storage scylladb:tcp:localhost:9042 --policy-config testnet --path /tmp/local-linera-net --validators 4 --shards 4 &
91+ - name : Create two epochs and run the faucet
92+ run : |
93+ cargo build --bin linera
94+ cargo run --bin linera -- resource-control-policy --block 0.0000001
95+ cargo run --bin linera -- resource-control-policy --block 0.000000
96+ cargo run --bin linera -- faucet --amount 1000 --port 8079 a3edc33d8e951a1139333be8a4b56646b5598a8f51216e86592d881808972b07 &
97+ - name : Run the remote-net tests
98+ run : |
99+ cargo test -p linera-service remote_net_grpc --features remote-net
100+
101+ remote-net-test-rocksdb :
102+ runs-on : ubuntu-latest-8-cores
103+ timeout-minutes : 40
104+
105+ steps :
106+ - uses : actions/checkout@v3
107+ - uses : actions-rust-lang/setup-rust-toolchain@v1
108+ - name : Install Protoc
109+ uses : arduino/setup-protoc@v1
110+ with :
111+ repo-token : ${{ secrets.GITHUB_TOKEN }}
112+ - name : Run the validators
113+ run : |
114+ cargo build --features rocksdb
115+ mkdir /tmp/local-linera-net
116+ cargo run --features rocksdb --bin linera -- net up --storage rocksdb:/tmp/local-linera-net/linera.db --policy-config testnet --path /tmp/local-linera-net --validators 4 --shards 4 &
117+ - name : Create two epochs and run the faucet
118+ run : |
119+ cargo build --bin linera
120+ cargo run --bin linera -- resource-control-policy --block 0.0000001
121+ cargo run --bin linera -- resource-control-policy --block 0.000000
122+ cargo run --bin linera -- faucet --amount 1000 --port 8079 a3edc33d8e951a1139333be8a4b56646b5598a8f51216e86592d881808972b07 &
123+ - name : Run the remote-net tests
124+ run : |
125+ cargo test -p linera-service remote_net_grpc --features remote-net
126+
72127 execution-wasmtime-test :
73128 runs-on : ubuntu-latest
74129 timeout-minutes : 10
0 commit comments