From 82cf8f285fbcf294780bd65bf2829540511f53fb Mon Sep 17 00:00:00 2001 From: Mike Morris Date: Mon, 9 Dec 2019 15:52:50 -0500 Subject: [PATCH] coverage: add initial .codecov.yml config (#6873) * coverage: remove reach graph from comment * coverage: add patch status coverage target --- .codecov.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .codecov.yml diff --git a/.codecov.yml b/.codecov.yml new file mode 100644 index 0000000000..c4bf846283 --- /dev/null +++ b/.codecov.yml @@ -0,0 +1,33 @@ +# https://docs.codecov.io/docs/commit-status +coverage: + status: + # only measure diff changes, not unexpected project changes from flakiness + project: no + patch: + default: + # https://docs.codecov.io/docs/commit-status#section-threshold + target: 70 + # 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 + +# https://docs.codecov.io/docs/codecov-yaml#section-default-yaml +# TODO: experiment with changing these values? +# parsers: +# gcov: +# branch_detection: +# conditional: yes +# loop: yes +# method: no +# macro: no + +# https://docs.codecov.io/docs/pull-request-comments#section-layout +comment: + layout: "diff,flags,tree" + +# https://docs.codecov.io/docs/flags +# TODO: split out test coverage for API, SDK, UI, website? +# flags: