File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -85,10 +85,14 @@ vet: ## Run go vet against code.
85
85
$(GO_CMD ) vet ./...
86
86
87
87
.PHONY : test
88
- test : verify gotestsum gomod-download vet envtest ginkgo # # Run tests.
89
- # Unit tests
88
+ test : verify vet test-unit test-integration # # Run all tests.
89
+
90
+ .PHONY : test-unit
91
+ test-unit : gomod-download gotestsum # # Run unit tests.
90
92
$(GOTESTSUM ) --junitfile $(ARTIFACTS ) /junit-unit.xml -- $(GO_TEST_FLAGS ) $(shell $(GO_CMD ) list ./... | grep -v '/test/') -coverpkg=./... -coverprofile $(ARTIFACTS ) /cover.out
91
- # Integration tests
93
+
94
+ .PHONY : test-integration
95
+ test-integration : gomod-download envtest ginkgo # # Run integration tests.
92
96
KUBEBUILDER_ASSETS=" $( shell $( ENVTEST) use $( ENVTEST_K8S_VERSION) -p path) " \
93
97
KUEUE_BIN=$(PROJECT_DIR ) /bin \
94
98
ENVTEST_K8S_VERSION=$(ENVTEST_K8S_VERSION ) \
You can’t perform that action at this time.
0 commit comments