File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 2323 run : |
2424 make test-unit
2525
26+ - name : Run test-operator unit tests
27+ run : |
28+ make test-test-operator
29+
26302731 with :
2832 disable_search : true
Original file line number Diff line number Diff line change @@ -246,6 +246,12 @@ test-unit: $(SETUP_ENVTEST) envtest-k8s-bins #HELP Run the unit tests
246246 $(UNIT_TEST_DIRS ) \
247247 -test.gocoverdir=$(COVERAGE_UNIT_DIR )
248248
249+
250+ .PHONE : test-test-operator
251+ test-test-operator :
252+ KUBEBUILDER_ASSETS=" $( shell $( SETUP_ENVTEST) use -p path $( ENVTEST_VERSION) $( SETUP_ENVTEST_BIN_DIR_OVERRIDE) ) " \
253+ CGO_ENABLED=1 go test -tags ' $(GO_BUILD_TAGS)' -count=1 -race -short ./testdata/images/bundles/test-operator/...
254+
249255TEST_OPERATOR_CONTROLLERS_HOME =./testdata/images/controllers
250256TEST_OPERATOR_CONTROLLERS =v1.0.0 v2.0.0
251257
You can’t perform that action at this time.
0 commit comments