From 3a982496076883418fc29ab80e283f096f85febe Mon Sep 17 00:00:00 2001 From: Mike Morris Date: Tue, 17 Dec 2019 11:51:52 -0500 Subject: [PATCH] coverage: disable comment and project status, set informational mode (#6954) * ci: set verbose mode for CodeCov upload * coverage: rename config to codecov.yml --- .circleci/config.yml | 2 +- .codecov.yml => codecov.yml | 15 +++++++-------- 2 files changed, 8 insertions(+), 9 deletions(-) rename .codecov.yml => codecov.yml (77%) diff --git a/.circleci/config.yml b/.circleci/config.yml index 65bd36e05..6ed78e2d4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -177,7 +177,7 @@ jobs: go tool cover -html=coverage.out -o /tmp/test-results/coverage.html - run: name: codecov upload - command: bash <(curl -s https://codecov.io/bash) -C $CIRCLE_SHA1 -f '!agent/bindata_assetfs.go' + command: bash <(curl -s https://codecov.io/bash) -v -C $CIRCLE_SHA1 -f '!agent/bindata_assetfs.go' - store_artifacts: path: /tmp/test-results diff --git a/.codecov.yml b/codecov.yml similarity index 77% rename from .codecov.yml rename to codecov.yml index c4bf84628..969ef73ea 100644 --- a/.codecov.yml +++ b/codecov.yml @@ -2,17 +2,17 @@ coverage: status: # only measure diff changes, not unexpected project changes from flakiness - project: no + project: off patch: default: - # https://docs.codecov.io/docs/commit-status#section-threshold - target: 70 + # https://docs.codecov.io/docs/commit-status#section-informational + informational: true # https://docs.codecov.io/docs/commit-status#section-excluding-tests-example- # TODO: should any paths be excluded from coverage metrics? # paths: # https://docs.codecov.io/docs/commit-status#section-changes-status - # TODO: enable after eliminating current unexpected coverage changes - changes: no + # TODO: enable after eliminating current unexpected coverage changes? + changes: off # https://docs.codecov.io/docs/codecov-yaml#section-default-yaml # TODO: experiment with changing these values? @@ -24,9 +24,8 @@ coverage: # method: no # macro: no -# https://docs.codecov.io/docs/pull-request-comments#section-layout -comment: - layout: "diff,flags,tree" +# https://docs.codecov.io/docs/pull-request-comments +comment: false # https://docs.codecov.io/docs/flags # TODO: split out test coverage for API, SDK, UI, website?