mirror of https://github.com/knative/func.git
chore: add `-race` flag for tests
This commit is contained in:
parent
15f1e8be1e
commit
382fcf8d1e
2
Makefile
2
Makefile
|
|
@ -35,7 +35,7 @@ $(WINDOWS):
|
|||
env GOOS=windows GOARCH=amd64 go build -o $(WINDOWS) -ldflags "-X main.date=$(DATE) -X main.vers=$(VERS) -X main.hash=$(HASH)" ./cmd/$(BIN)
|
||||
|
||||
test:
|
||||
go test -cover -coverprofile=coverage.out ./...
|
||||
go test -race -cover -coverprofile=coverage.out ./...
|
||||
|
||||
image: Dockerfile
|
||||
docker build -t $(REPO):latest \
|
||||
|
|
|
|||
Loading…
Reference in New Issue