Merge pull request #68 from mayankshah1607/linux-ut

CI: add GH Actions workflow for Darwin unit tests
This commit is contained in:
Kubernetes Prow Robot 2020-10-26 23:39:59 -07:00 committed by GitHub
commit d65fbabf5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

20
.github/workflows/darwin.yaml vendored Normal file
View File

@ -0,0 +1,20 @@
name: Darwin
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Unit Tests
runs-on: macos-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.13
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Run unit tests
run: go test -v -race ./pkg/...