Skip to content

Commit f660352

Browse files
authored
Merge pull request #2175 from shiftstack/capo-tests
🌱 Allow running CAPO and ORC tests separately
2 parents 978216a + 3463e0e commit f660352

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,15 @@ kubebuilder_assets: $(SETUP_ENVTEST)
147147

148148
.PHONY: test
149149
TEST_PATHS ?= ./...
150-
test: $(ARTIFACTS) $(GOTESTSUM) kubebuilder_assets
150+
test: test-capo test-orc
151+
152+
.PHONY: test-capo
153+
test-capo: $(ARTIFACTS) $(GOTESTSUM) kubebuilder_assets
151154
KUBEBUILDER_ASSETS="$(KUBEBUILDER_ASSETS)" $(GOTESTSUM) --junitfile $(ARTIFACTS)/junit.test.xml --junitfile-hide-empty-pkg --jsonfile $(ARTIFACTS)/test-output.log -- \
152155
-v $(TEST_PATHS) $(TEST_ARGS)
156+
157+
.PHONY: test-orc
158+
test-orc:
153159
$(MAKE) -C $(REPO_ROOT)/orc test
154160

155161
E2E_TEMPLATES_DIR=test/e2e/data/infrastructure-openstack

0 commit comments

Comments
 (0)