Merge pull request #2082 from my-git9/makefile

do not start new tests after the first test failure
This commit is contained in:
karmada-bot 2022-06-29 17:59:22 +08:00 committed by GitHub
commit cee1a2f4a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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)"