Skip to content

Commit 1988711

Browse files
authored
Merge pull request #67 from andyzhangx/win-ut
test: add windows unit test pipeline
2 parents ef244b5 + b58aab6 commit 1988711

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/windows.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Go
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
strategy:
12+
matrix:
13+
go-versions: [1.13.x]
14+
platform: [windows-latest]
15+
runs-on: ${{ matrix.platform }}
16+
steps:
17+
- name: Install Go
18+
uses: actions/setup-go@v1
19+
with:
20+
go-version: ${{ matrix.go-version }}
21+
- name: Checkout code
22+
uses: actions/checkout@v2
23+
- name: Build
24+
run: |
25+
go build -a -o _output/csi-proxy.exe ./cmd/csi-proxy
26+
- name: Run Windows Unit Tests
27+
run: |
28+
go test -v -race ./internal/...

0 commit comments

Comments
 (0)