Skip to content

Commit

Permalink
modify envtest version
Browse files Browse the repository at this point in the history
  • Loading branch information
varshaprasad96 committed Aug 5, 2021
1 parent c9dfad4 commit 544f7c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ all: test lint build
.PHONY: test
export KUBEBUILDER_ASSETS := $(TOOLS_BIN_DIR)
TESTPKG ?= ./...
CR_VERSION=$(shell go list -m sigs.k8s.io/controller-runtime | cut -d" " -f2 | sed 's/^v//')
# TODO: Modify this to use setup-envtest binary
test:
fetch envtest $(CR_VERSION) && go test -race -covermode atomic -coverprofile cover.out $(TESTPKG)
fetch envtest 0.8.3 && go test -race -covermode atomic -coverprofile cover.out $(TESTPKG)

# Build manager binary
.PHONY: build
Expand Down

0 comments on commit 544f7c9

Please sign in to comment.