Skip to content

Commit

Permalink
Merge pull request #1128 from akrejcir/fix-ginkgo-makefile
Browse files Browse the repository at this point in the history
makefile: use the same ginkgo version that is in go.mod
  • Loading branch information
kubevirt-bot authored Nov 13, 2024
2 parents 9c0734a + c77e870 commit 567d9f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ unittest: generate lint fmt vet manifests metrics-rules-test lint-monitoring
build-functests:
go test -c ./tests

GINKGO_VERSION ?= v2.17.1
GOMOD_PATH ?= ./go.mod
GINKGO_VERSION ?= $(shell grep -E '^\s*github\.com/onsi/ginkgo/v[0-9]+' $(GOMOD_PATH) | awk '{print $$2}')
GINKGO_TIMEOUT ?= 2h

.PHONY: ginkgo
Expand Down

0 comments on commit 567d9f5

Please sign in to comment.