From 615eb91f7011d78e39d5462b55f6358d520929c3 Mon Sep 17 00:00:00 2001 From: Damian Badura Date: Wed, 7 Feb 2024 08:46:50 +0100 Subject: [PATCH] improve name --- .github/workflows/warden-verify.yaml | 4 ++-- Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/warden-verify.yaml b/.github/workflows/warden-verify.yaml index e86c4fda..9a4696f0 100644 --- a/.github/workflows/warden-verify.yaml +++ b/.github/workflows/warden-verify.yaml @@ -29,8 +29,8 @@ jobs: with: go-version: '1.21' cache: true - - name: unit test - run: make test + - name: fmt and unit tests + run: make verify integration-test: needs: unit-test runs-on: ubuntu-latest diff --git a/Makefile b/Makefile index 1a4ef8eb..f0755a3e 100644 --- a/Makefile +++ b/Makefile @@ -60,8 +60,8 @@ fmt: ## Run go fmt against code. vet: ## Run go vet against code. go vet ./... -.PHONY: test -test: manifests generate fmt vet envtest ## Verifies formatting and run unit tests +.PHONY: verify +verify: manifests generate fmt vet envtest ## Verifies formatting and run unit tests KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(ENVTEST_K8S_VERSION) --bin-dir $(LOCALBIN) -p path)" go test ./... -coverprofile $(TEST_COVER_OUT) compile: