You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Makefile
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -424,6 +424,12 @@ test: $(SETUP_ENVTEST) $(GOVC) ## Run unit tests
424
424
test-verbose: ## Run unit tests with verbose flag
425
425
$(MAKE)test TEST_ARGS="$(TEST_ARGS) -v"
426
426
427
+
.PHONY: test-junit
428
+
test-junit: $(SETUP_ENVTEST)$(GOTESTSUM)$(GOVC)## Run unit tests
429
+
set +o errexit; (KUBEBUILDER_ASSETS="$(KUBEBUILDER_ASSETS)" GOVC_BIN_PATH=$(GOVC) go test -json ./apis/... ./controllers/... ./pkg/... $(TEST_ARGS);echo$$?>$(ARTIFACTS)/junit.exitcode) | tee $(ARTIFACTS)/junit.stdout
0 commit comments