Skip to content

Commit

Permalink
test: add darwin and golint tests
Browse files Browse the repository at this point in the history
remove golint test
  • Loading branch information
andyzhangx committed Nov 26, 2021
1 parent 7e24946 commit 6aa7671
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/darwin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: MacOS Unit Tests
on:
pull_request: {}
push: {}

jobs:

build:
name: Build
runs-on: macos-latest
steps:

- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.16
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Build Test
run: |
make
- name: Run unit tests on MacOS
run: go test -v -race ./pkg/...

0 comments on commit 6aa7671

Please sign in to comment.