Skip to content

Commit 0e3318d

Browse files
committed
requested changes
1 parent 78edd78 commit 0e3318d

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ lint:
155155
## Runs code-generators and unittests.
156156
test-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
315313
coverage:
316314
hack/codecov.sh

hack/codecov.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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.
1616
COV_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
2120
grep -v "zz_generated" "${COVER_PROFILE}.tmp" > "${COVER_PROFILE}"

0 commit comments

Comments
 (0)