build: run tests natively on ARM, Mac, and Windows in CI (#111)

This commit is contained in:
Daniel Moran
2021-06-14 10:36:35 -04:00
committed by GitHub
parent 0acb80b044
commit 581daaa5ba
5 changed files with 177 additions and 26 deletions

View File

@ -91,9 +91,10 @@ mock: ./internal/mock/gen.go
go generate ./internal/mock/
test:
$(GO_TEST) $(GO_TEST_PATHS)
CGO_ENABLED=0 $(GO_TEST) $(GO_TEST_PATHS)
test-race:
# Race-checking requires CGO.
$(GO_TEST) -v -race -count=1 $(GO_TEST_PATHS)
### List of all targets that don't produce a file