feat: add debugging and use go get to grab godacov
This commit is contained in:
7
tests.mk
7
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:
|
||||
|
||||
Reference in New Issue
Block a user