test: enable GH action on all branches

This commit is contained in:
andyzhangx 2021-01-04 02:38:22 +00:00
parent d92f45196f
commit 960cbdd09f
2 changed files with 5 additions and 9 deletions

View File

@ -1,9 +1,7 @@
name: Darwin
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
pull_request: {}
push: {}
jobs:
build:
name: Unit Tests
@ -17,4 +15,4 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Run unit tests
run: go test -v -race ./pkg/...
run: go test -v -race ./pkg/...

View File

@ -1,9 +1,7 @@
name: Linux Unit tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
pull_request: {}
push: {}
jobs: