coverage: disable comment and project status, set informational mode (#6954)

* ci: set verbose mode for CodeCov upload

* coverage: rename config to codecov.yml
This commit is contained in:
Mike Morris 2019-12-17 11:51:52 -05:00 committed by GitHub
parent f607a00138
commit 3a98249607
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 9 deletions

View File

@ -177,7 +177,7 @@ jobs:
go tool cover -html=coverage.out -o /tmp/test-results/coverage.html go tool cover -html=coverage.out -o /tmp/test-results/coverage.html
- run: - run:
name: codecov upload 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: - store_artifacts:
path: /tmp/test-results path: /tmp/test-results

View File

@ -2,17 +2,17 @@
coverage: coverage:
status: status:
# only measure diff changes, not unexpected project changes from flakiness # only measure diff changes, not unexpected project changes from flakiness
project: no project: off
patch: patch:
default: default:
# https://docs.codecov.io/docs/commit-status#section-threshold # https://docs.codecov.io/docs/commit-status#section-informational
target: 70 informational: true
# https://docs.codecov.io/docs/commit-status#section-excluding-tests-example- # https://docs.codecov.io/docs/commit-status#section-excluding-tests-example-
# TODO: should any paths be excluded from coverage metrics? # TODO: should any paths be excluded from coverage metrics?
# paths: # paths:
# https://docs.codecov.io/docs/commit-status#section-changes-status # https://docs.codecov.io/docs/commit-status#section-changes-status
# TODO: enable after eliminating current unexpected coverage changes # TODO: enable after eliminating current unexpected coverage changes?
changes: no changes: off
# https://docs.codecov.io/docs/codecov-yaml#section-default-yaml # https://docs.codecov.io/docs/codecov-yaml#section-default-yaml
# TODO: experiment with changing these values? # TODO: experiment with changing these values?
@ -24,9 +24,8 @@ coverage:
# method: no # method: no
# macro: no # macro: no
# https://docs.codecov.io/docs/pull-request-comments#section-layout # https://docs.codecov.io/docs/pull-request-comments
comment: comment: false
layout: "diff,flags,tree"
# https://docs.codecov.io/docs/flags # https://docs.codecov.io/docs/flags
# TODO: split out test coverage for API, SDK, UI, website? # TODO: split out test coverage for API, SDK, UI, website?