File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed
Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,25 @@ jobs:
1818 with :
1919 go-version : ${{ matrix.go-version }}
2020 - name : Checkout code
21- uses : actions/checkout@v2
21+ uses : actions/checkout@v2
2222 - name : Build Test
2323 run : |
2424 make smb-windows
2525 - name : Run Windows Unit Tests
2626 run : |
27+ # start the CSI Proxy before running tests on windows
28+ Start-Job -Name CSIProx -ScriptBlock {
29+ Invoke-WebRequest https://kubernetesartifacts.azureedge.net/csi-proxy/v0.2.1/binaries/csi-proxy.tar.gz -OutFile csi-proxy.tar.gz;
30+ tar -xvf csi-proxy.tar.gz
31+ .\bin\csi-proxy.exe --kubelet-csi-plugins-path $pwd --kubelet-pod-path $pwd
32+ };
33+
34+ # Wait for the CSI Proxy to come up
35+ Start-Sleep -Seconds 30;
36+
37+ # Print all the named pipes to make sure that CSI-Proxy's named-pipes are created.
38+ Write-Output "Getting named pipes"
39+ [System.IO.Directory]::GetFiles("\\.\\pipe\\")
40+
41+ # Start the tests
2742 go test -v -race ./pkg/...
You can’t perform that action at this time.
0 commit comments