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 23
23
run : |
24
24
make test-unit
25
25
26
+ - name : Run test-operator unit tests
27
+ run : |
28
+ make test-test-operator
29
+
26
30
27
31
with :
28
32
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
246
246
$(UNIT_TEST_DIRS ) \
247
247
-test.gocoverdir=$(COVERAGE_UNIT_DIR )
248
248
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
+
249
255
TEST_OPERATOR_CONTROLLERS_HOME =./testdata/images/controllers
250
256
TEST_OPERATOR_CONTROLLERS =v1.0.0 v2.0.0
251
257
You can’t perform that action at this time.
0 commit comments