File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -155,7 +155,6 @@ lint:
155155# # Runs code-generators and unittests.
156156test-unit : generate
157157 @echo " running unit tests..."
158- # ./mage test:unit
159158 CGO_ENABLED=1 go test $(TESTOPTS ) ./internal/... ./cmd/... ./pkg/...
160159.PHONY : test-unit
161160
@@ -310,7 +309,6 @@ clean-config-openshift:
310309# ------------------
311310# #@ Codecov.io
312311# ------------------
313-
314312.PHONY : coverage
315313coverage :
316314 hack/codecov.sh
Original file line number Diff line number Diff line change @@ -14,8 +14,7 @@ JOB_TYPE=${JOB_TYPE:-"local"}
1414# regularly getting OOM-killed; so do this rather than boost the pod resources
1515# unreasonably.
1616COV_THREAD_COUNT=${COV_THREAD_COUNT:- 4}
17- # make -C "${REPO_ROOT}" go-test TESTOPTS="-coverprofile=${COVER_PROFILE}.tmp -covermode=atomic -coverpkg=./... -p ${COV_THREAD_COUNT}"
18- make test-unit
17+ make -C " ${REPO_ROOT} " test-unit TESTOPTS=" -coverprofile=${COVER_PROFILE} .tmp -covermode=atomic -coverpkg=./... -p ${COV_THREAD_COUNT} "
1918
2019# Remove generated files from coverage profile
2120grep -v " zz_generated" " ${COVER_PROFILE} .tmp" > " ${COVER_PROFILE} "
You can’t perform that action at this time.
0 commit comments