Merge pull request #2082 from my-git9/makefile
do not start new tests after the first test failure
This commit is contained in:
commit
cee1a2f4a1
6
Makefile
6
Makefile
|
@ -110,9 +110,9 @@ release-chart:
|
|||
|
||||
.PHONY: test
|
||||
test:
|
||||
go test --race --v ./pkg/...
|
||||
go test --race --v ./cmd/...
|
||||
go test --race --v ./examples/...
|
||||
for s in $(go list ./pkg/...); do if ! go test -race -failfast -v -p 1 $s; then break; fi; done
|
||||
for s in $(go list ./cmd/...); do if ! go test -race -failfast -v -p 1 $s; then break; fi; done
|
||||
for s in $(go list ./examples/...); do if ! go test -race -failfast -v -p 1 $s; then break; fi; done
|
||||
|
||||
upload-images: images
|
||||
@echo "push images to $(REGISTRY)"
|
||||
|
|
Loading…
Reference in New Issue