Handle from makefile

This commit is contained in:
Ettore Di Giacinto 2022-09-13 21:10:01 +00:00
parent 6951d26fda
commit 3bc7583466
2 changed files with 4 additions and 2 deletions

View File

@ -16,5 +16,4 @@ jobs:
uses: actions/checkout@v2
- name: Test
run: |
go install -mod=mod github.com/onsi/ginkgo/v2/ginkgo
make kind-e2e-tests
make deps-test kind-e2e-tests

View File

@ -190,6 +190,9 @@ controller-gen: $(CONTROLLER_GEN) ## Download controller-gen locally if necessar
$(CONTROLLER_GEN): $(LOCALBIN)
GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-tools/cmd/controller-gen@$(CONTROLLER_TOOLS_VERSION)
deps-test: $(LOCALBIN)
GOBIN=$(LOCALBIN) go install -mod=mod github.com/onsi/ginkgo/v2/ginkgo
.PHONY: envtest
envtest: $(ENVTEST) ## Download envtest-setup locally if necessary.
$(ENVTEST): $(LOCALBIN)