File tree 1 file changed +10
-13
lines changed
1 file changed +10
-13
lines changed Original file line number Diff line number Diff line change @@ -109,20 +109,22 @@ jobs:
109
109
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression
110
110
scoop install main/kind
111
111
scoop install kubectl
112
- scoop install main/minikube
113
112
Get-WindowsFeature
114
113
# choco install docker-cli
115
114
# cd "C:\ProgramData\chocolatey\lib\docker-cli\bin"
116
115
# dir
117
116
118
- - name : Test Curl Download
117
+ - name : WSL Install
118
+ uses : Vampire/setup-wsl@v3
119
+ if : ${{ runner.os == 'Windows' && (inputs.enable-unit-tests || inputs.enable-e2e-tests) && !cancelled() && !failure() }}
120
+
121
+ - name : Get WSL Info
119
122
if : ${{ runner.os == 'Windows' && inputs.enable-e2e-tests && !cancelled() && !failure() }}
123
+ shell : pwsh
120
124
run : |
121
- pwd
122
- curl --version
123
- curl -O https://desktop.docker.com/win/main/amd64/Docker%20Desktop%20Installer.exe
124
- ls -ltr
125
- docker info --format '{{.OSType}}'
125
+ wsl --version
126
+ wsl --list --verbose
127
+ wsl --status
126
128
127
129
- name : Setup Helm
128
130
uses : azure/setup-helm@29960d0f5f19214b88e1d9ba750a9914ab0f1a2f # v4.0.0
@@ -168,14 +170,9 @@ jobs:
168
170
if : ${{ runner.os == 'linux' && inputs.enable-e2e-tests && !cancelled() && !failure() }}
169
171
run : docker image pull kindest/node:v1.27.3@sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72
170
172
171
- - name : Setup E2E Tests Windows
172
- if : ${{ runner.os == 'Windows' && inputs.enable-e2e-tests && !cancelled() && !failure() }}
173
- run : |
174
- npm link
175
- ./test/e2e/setup-e2e-windows.sh
176
173
177
174
- name : Setup E2E Tests Linux
178
- if : ${{ runner.os == 'linux' && inputs.enable-e2e-tests && !cancelled() && !failure() }}
175
+ if : ${{ inputs.enable-e2e-tests && !cancelled() && !failure() }}
179
176
run : |
180
177
npm link
181
178
./test/e2e/setup-e2e.sh
You can’t perform that action at this time.
0 commit comments