test: add windows unit test action

This commit is contained in:
andyzhangx 2021-01-04 03:18:43 +00:00
parent d0b0ea08c3
commit 9e149bc5ee
2 changed files with 21 additions and 0 deletions

21
.github/workflows/windows.yaml vendored Normal file
View File

@ -0,0 +1,21 @@
name: Windows Tests
on:
pull_request: {}
push: {}
jobs:
build:
strategy:
matrix:
go-versions: [1.15.x]
platform: [windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Run Windows Unit Tests
run: |
go test -v -race ./pkg/...