Skip to content

Commit

Permalink
Merge pull request #360 from dciabrin/test_mk
Browse files Browse the repository at this point in the history
tests: enable both ginkgo and automated tests
  • Loading branch information
stuggi authored Oct 6, 2023
2 parents e942c68 + 96be2cf commit 9d276fc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,8 @@ test: gowork generate fmt vet envtest ginkgo ## Run tests.
pushd ./$$mod ; \
if [ -f test/functional/suite_test.go ]; then \
KUBEBUILDER_ASSETS="$(shell $(ENVTEST) -v debug --bin-dir $(LOCALBIN) use $(ENVTEST_K8S_VERSION) -p path)" $(GINKGO) --trace --cover --coverprofile cover.out --covermode=atomic ${PROC_CMD} $(GINKGO_ARGS) ./test/... || exit 1; \
else \
KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(ENVTEST_K8S_VERSION) -p path)" go test ./... -coverprofile cover.out || exit 1; \
fi; \
KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(ENVTEST_K8S_VERSION) -p path)" go test ./... -coverprofile cover.out || exit 1; \
popd ; \
done
##@ Build
Expand Down

0 comments on commit 9d276fc

Please sign in to comment.