enable race detector CI for macos-latest (#11715)

This commit is contained in:
Harshavardhana 2021-03-05 14:16:23 -08:00 committed by GitHub
parent bcf9825082
commit ec547c0fa8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -27,7 +27,8 @@ jobs:
CGO_ENABLED: 0
GO111MODULE: on
run: |
make test
make
make test-race
- name: Build on ${{ matrix.os }}
if: matrix.os == 'windows-latest'
env:

View file

@ -3,5 +3,5 @@
set -e
for d in $(go list ./... | grep -v browser); do
CGO_ENABLED=1 go test -v -race --timeout 100m "$d"
CGO_ENABLED=1 go test -v -tags kqueue -race --timeout 100m "$d"
done