Skip to content

Commit

Permalink
Optimize test runs by running ci-lint check once (#617)
Browse files Browse the repository at this point in the history
  • Loading branch information
seshachalam-yv authored Jun 15, 2023
1 parent 50a64ad commit 96f5141
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 96f5141

Please sign in to comment.