diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 02a31b8d..2199a712 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -56,3 +56,12 @@ jobs: env: GO111MODULE: "on" run: make test-unit + + - name: Running integration tests github + env: + GIT_PROVIDER: github + GIT_ORG_NAME: SovereignCloudStack + GIT_REPOSITORY_NAME: cluster-stacks + GO111MODULE: "on" + GIT_ACCESS_TOKEN: ${{ secrets.GIT_ACCESS_TOKEN }} + run: make test-integration-github diff --git a/Makefile b/Makefile index dec25300..7eb2eb77 100644 --- a/Makefile +++ b/Makefile @@ -328,8 +328,8 @@ test-unit: $(SETUP_ENVTEST) $(GOTESTSUM) $(HELM) ## Run unit .PHONY: test-integration-github test-integration-github: $(SETUP_ENVTEST) $(GOTESTSUM) @mkdir -p $(shell pwd)/.coverage - KUBEBUILDER_ASSETS="$(KUBEBUILDER_ASSETS)" $(GOTESTSUM) --junitfile=../.coverage/junit.xml --format testname -- -mod=vendor \ - -covermode=atomic -coverprofile=../.coverage/cover.out -p=1 ./internal/test/integration/github/... + KUBEBUILDER_ASSETS="$(KUBEBUILDER_ASSETS)" $(GOTESTSUM) --junitfile=.coverage/junit.xml --format testname -- -mod=vendor \ + -covermode=atomic -coverprofile=.coverage/cover.out -p=1 ./internal/test/integration/github/... ##@ Verify ##########