@@ -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
6161 cargo run --features storage-service --bin linera -- net up --storage service:tcp:localhost:1235:table --policy-config testnet --path /tmp/local-linera-net --validators 4 --shards 4 &
6262 - name : Create two epochs and run the faucet
6363 run : |
64- cargo build --bin linera
64+ cargo run --bin linera -- resource-control-policy --block 0.0000001
65+ cargo run --bin linera -- resource-control-policy --block 0.000000
66+ cargo run --bin linera -- faucet --amount 1000 --port 8079 a3edc33d8e951a1139333be8a4b56646b5598a8f51216e86592d881808972b07 &
67+ - name : Run the remote-net tests
68+ run : |
69+ cargo test -p linera-service remote_net_grpc --features remote-net
70+
71+ remote-net-test-scylladb :
72+ runs-on : ubuntu-latest-8-cores
73+ timeout-minutes : 40
74+
75+ steps :
76+ - uses : actions/checkout@v3
77+ - uses : actions-rust-lang/setup-rust-toolchain@v1
78+ - name : Install Protoc
79+ uses : arduino/setup-protoc@v1
80+ with :
81+ repo-token : ${{ secrets.GITHUB_TOKEN }}
82+ - name : Setup local ScyllaDB instance
83+ run : |
84+ docker run --name my_scylla_container -d -p 9042:9042 scylladb/scylla:6.1
85+ - name : Run the validators
86+ run : |
87+ cargo build --features scylladb
88+ mkdir /tmp/local-linera-net
89+ 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 &
90+ - name : Create two epochs and run the faucet
91+ run : |
92+ cargo run --bin linera -- resource-control-policy --block 0.0000001
93+ cargo run --bin linera -- resource-control-policy --block 0.000000
94+ cargo run --bin linera -- faucet --amount 1000 --port 8079 a3edc33d8e951a1139333be8a4b56646b5598a8f51216e86592d881808972b07 &
95+ - name : Run the remote-net tests
96+ run : |
97+ cargo test -p linera-service remote_net_grpc --features remote-net
98+
99+ remote-net-test-rocksdb :
100+ runs-on : ubuntu-latest-8-cores
101+ timeout-minutes : 40
102+
103+ steps :
104+ - uses : actions/checkout@v3
105+ - uses : actions-rust-lang/setup-rust-toolchain@v1
106+ - name : Install Protoc
107+ uses : arduino/setup-protoc@v1
108+ with :
109+ repo-token : ${{ secrets.GITHUB_TOKEN }}
110+ - name : Run the validators
111+ run : |
112+ cargo build --features rocksdb
113+ mkdir /tmp/local-linera-net
114+ 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 &
115+ - name : Create two epochs and run the faucet
116+ run : |
65117 cargo run --bin linera -- resource-control-policy --block 0.0000001
66118 cargo run --bin linera -- resource-control-policy --block 0.000000
67119 cargo run --bin linera -- faucet --amount 1000 --port 8079 a3edc33d8e951a1139333be8a4b56646b5598a8f51216e86592d881808972b07 &
0 commit comments