From 96f514132a16383810c34f85d9730e127111c3b2 Mon Sep 17 00:00:00 2001 From: Seshachalam <104052572+seshachalam-yv@users.noreply.github.com> Date: Thu, 15 Jun 2023 16:46:25 +0530 Subject: [PATCH] Optimize test runs by running ci-lint check once (#617) --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index dc803bc4f..94d262dea 100644 --- a/Makefile +++ b/Makefile @@ -101,7 +101,7 @@ clean: set-permissions # Check packages .PHONY: check -check: $(GOLANGCI_LINT) $(GOIMPORTS) set-permissions +check: $(GOLANGCI_LINT) $(GOIMPORTS) set-permissions fmt manifests @"$(REPO_ROOT)/vendor/github.com/gardener/gardener/hack/check.sh" --golangci-lint-config=./.golangci.yaml ./api/... ./pkg/... ./controllers/... .PHONY: check-generate @@ -128,7 +128,7 @@ docker-push: # Run tests .PHONY: test -test: set-permissions $(GINKGO) $(SETUP_ENVTEST) fmt check manifests +test: set-permissions $(GINKGO) $(SETUP_ENVTEST) @"$(REPO_ROOT)/hack/test.sh" ./api/... ./controllers/... ./pkg/... .PHONY: test-cov @@ -144,7 +144,7 @@ test-e2e: set-permissions $(KUBECTL) $(HELM) $(SKAFFOLD) @"$(REPO_ROOT)/hack/e2e-test/run-e2e-test.sh" $(PROVIDERS) .PHONY: test-integration -test-integration: set-permissions $(GINKGO) $(SETUP_ENVTEST) fmt check manifests +test-integration: set-permissions $(GINKGO) $(SETUP_ENVTEST) @"$(REPO_ROOT)/hack/test.sh" ./test/integration/... .PHONY: update-dependencies