Merge pull request #130 from andyzhangx/windows-ut

test: add windows unit test action
This commit is contained in:
Andy Zhang 2021-01-04 11:32:23 +08:00 committed by GitHub
commit 1168c24950
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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/...