File tree 1 file changed +13
-2
lines changed
1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change 1
- name : Go
1
+ name : Windows Integration Tests
2
2
3
3
on :
4
4
push :
22
22
uses : actions/checkout@v2
23
23
- name : Build
24
24
run : |
25
- go build -a -o _output /csi-proxy.exe ./cmd/csi-proxy
25
+ go build -v - a -o ./bin /csi-proxy.exe ./cmd/csi-proxy
26
26
- name : Run Windows Unit Tests
27
27
run : |
28
28
go test -v -race ./internal/...
29
+ - name : Run Windows Integration Tests
30
+ run : |
31
+ # start the CSI Proxy before running tests on windows
32
+ Start-Job -Name CSIProxy -ScriptBlock {
33
+ .\bin\csi-proxy.exe --kubelet-csi-plugins-path $pwd --kubelet-pod-path $pwd
34
+ };
35
+ Start-Sleep -Seconds 30;
36
+ Write-Output "getting named pipes"
37
+ [System.IO.Directory]::GetFiles("\\.\\pipe\\")
38
+
39
+ go test -v -race ./integrationtest/volume_test.go ./integrationtests/filesystem_test.go ./integrationtests/disk_test.go
You can’t perform that action at this time.
0 commit comments