Skip to content

Commit 3c47da1

Browse files
committed
save
1 parent 794ab2b commit 3c47da1

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

.github/workflows/zxc-compile-code.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,10 +192,15 @@ jobs:
192192
run: |
193193
cd "C:\Program Files\Docker\Docker"
194194
.\DockerCli.exe -SwitchLinuxEngine
195-
196195
197-
- name: Setup E2E Tests
198-
if: ${{ inputs.enable-e2e-tests && !cancelled() && !failure() }}
196+
- name: Setup E2E Tests Windows
197+
if: ${{ runner.os == 'Windows' && inputs.enable-e2e-tests && !cancelled() && !failure() }}
198+
run: |
199+
npm link
200+
./test/e2e/setup-e2e-windows.sh
201+
202+
- name: Setup E2E Tests Linux
203+
if: ${{ runner.os == 'linux' && inputs.enable-e2e-tests && !cancelled() && !failure() }}
199204
run: |
200205
npm link
201206
./test/e2e/setup-e2e.sh

test/e2e/setup-e2e-windows.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/usr/bin/env bash
2+
3+
SOLO_CLUSTER_NAME=solo-e2e
4+
SOLO_NAMESPACE=solo-e2e
5+
SOLO_CLUSTER_SETUP_NAMESPACE=solo-e2e-cluster
6+
minikube profile list
7+
minikube start -p ${SOLO_CLUSTER_NAME}
8+
solo init --namespace "${SOLO_NAMESPACE}" -i node0,node1,node2 -t v0.42.5 -s "${SOLO_CLUSTER_SETUP_NAMESPACE}" || exit 1 # cache args for subsequent commands
9+
solo cluster setup || exit 1
10+
solo network deploy || exit 1

0 commit comments

Comments
 (0)