From 4a7edc234a1322d571479f1a0ee5a82ae2df157c Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Wed, 2 Nov 2022 15:45:33 -0400 Subject: [PATCH] feat: add debugging and use go get to grab godacov --- tests.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests.mk b/tests.mk index f99e8783b..f63c5f1a0 100644 --- a/tests.mk +++ b/tests.mk @@ -144,10 +144,15 @@ ci-go-coverage-plugin: -w $(GO_REPO_ROOT) \ $(BUILD_IMAGE) \ bash -c "cd plugins/$(PLUGIN_NAME) && \ + echo 'installing gomega' && \ go get github.com/onsi/gomega && \ - go install github.com/schrej/godacov && \ + echo 'installing godacov' && \ + go get github.com/schrej/godacov && \ + echo 'installing goverage' && \ go install github.com/haya14busa/goverage && \ + echo 'running goverage' && \ goverage -v -coverprofile=./../../test-results/coverage/$(PLUGIN_NAME).out && \ + echo 'running godacov' && \ (godacov -r ./../../test-results/coverage/$(PLUGIN_NAME).out -c $$CIRCLE_SHA1 -t $$CODACY_TOKEN || true)" || exit $$? go-tests: