We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 18a8512 + 76c459f commit 8364019Copy full SHA for 8364019
make/00_mod.mk
@@ -15,3 +15,5 @@
15
repo_name := github.com/cert-manager/webhook-cert-lib
16
17
golangci_lint_config := .golangci.yaml
18
+
19
+GINKGO_VERSION ?= $(shell awk '/ginkgo\/v2/ {print $$2}' test/go.mod)
make/test-unit.mk
@@ -23,3 +23,13 @@ test-unit: | $(NEEDS_GOTESTSUM) $(ARTIFACTS)
23
./... \
24
-- \
25
-ldflags $(go_manager_ldflags)
26
27
+.PHONY: test-integration
28
+## Integration tests
29
+## @category Testing
30
+test-integration: | $(NEEDS_GINKGO) $(NEEDS_ETCD) $(NEEDS_KUBE-APISERVER) $(NEEDS_KUBECTL) $(ARTIFACTS)
31
+ KUBEBUILDER_ASSETS=$(CURDIR)/$(bin_dir)/tools \
32
+ $(GINKGO) \
33
+ --output-dir=$(ARTIFACTS) \
34
+ --junit-report=junit-go-e2e.xml \
35
+ ./test/
0 commit comments