Skip to content

Commit bc3b10a

Browse files
committed
Run existing-net-test in a Kubernetes local network
1 parent 34cbe02 commit bc3b10a

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/rust.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,25 @@ jobs:
6969
run: |
7070
cargo test -p linera-service remote_net_grpc --features remote-net
7171
72+
remote-kubernetes-net-test:
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: Run the validators and faucet
84+
run: |
85+
mkdir /tmp/local-linera-net
86+
cargo run --features kubernetes --release --bin linera -- net up --kubernetes --policy-config testnet --path /tmp/local-linera-net --validators 4 --shards 4 --with-faucet &
87+
- name: Run the remote-net tests
88+
run: |
89+
cargo test -p linera-service remote_net_grpc --features remote-net
90+
7291
execution-wasmtime-test:
7392
runs-on: ubuntu-latest
7493
timeout-minutes: 10

0 commit comments

Comments
 (0)