File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ jobs:
1919 go build -v -a -o ./bin/csi-proxy.exe ./cmd/csi-proxy
2020 go build -v -a -o ./bin/csi-proxy-api-gen.exe ./cmd/csi-proxy-api-gen
2121 - name : Run Windows Integration Tests
22- shell : powershell
2322 run : |
2423 # required for running Volume and Disk tests
2524 Install-WindowsFeature -name Hyper-V-PowerShell
25+
2626 # start the CSI Proxy before running tests on windows
2727 Start-Job -Name CSIProxy -ScriptBlock {
2828 .\bin\csi-proxy.exe
Original file line number Diff line number Diff line change @@ -30,7 +30,8 @@ func randomString(length int) string {
3030}
3131
3232func setupUser (username , password string ) error {
33- cmdLine := fmt .Sprintf (`;$PWord = ConvertTo-SecureString $Env:password -AsPlainText -Force` +
33+ cmdLine := fmt .Sprintf (`set "PSModulePath="` +
34+ `;$PWord = ConvertTo-SecureString $Env:password -AsPlainText -Force` +
3435 `;New-Localuser -name $Env:username -accountneverexpires -password $PWord` )
3536 cmd := exec .Command ("powershell" , "/c" , cmdLine )
3637 cmd .Env = append (os .Environ (),
You can’t perform that action at this time.
0 commit comments