Skip to content

Commit 30c7209

Browse files
committed
Run existing-net-test in a Kubernetes local network
1 parent cc0c8e0 commit 30c7209

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
@@ -70,6 +70,25 @@ jobs:
7070
run: |
7171
cargo test -p linera-service remote_net_grpc --features remote-net
7272
73+
remote-kubernetes-net-test:
74+
runs-on: ubuntu-latest-8-cores
75+
timeout-minutes: 40
76+
77+
steps:
78+
- uses: actions/checkout@v3
79+
- uses: actions-rust-lang/setup-rust-toolchain@v1
80+
- name: Install Protoc
81+
uses: arduino/setup-protoc@v1
82+
with:
83+
repo-token: ${{ secrets.GITHUB_TOKEN }}
84+
- name: Run the validators and faucet
85+
run: |
86+
mkdir /tmp/local-linera-net
87+
cargo run --features kubernetes --release --bin linera -- net up --kubernetes --policy-config testnet --path /tmp/local-linera-net --validators 4 --shards 4 --with-faucet &
88+
- name: Run the remote-net tests
89+
run: |
90+
cargo test -p linera-service remote_net_grpc --features remote-net
91+
7392
execution-wasmtime-test:
7493
runs-on: ubuntu-latest
7594
timeout-minutes: 10

0 commit comments

Comments
 (0)