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 c47dbffe1c
commit 83c84d4e7e
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
- 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

View File

@ -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?