From 926235287f059bf9a5ff1f1425809a703ef8eead Mon Sep 17 00:00:00 2001 From: Rodrigo Primo Date: Thu, 23 Aug 2018 17:36:47 -0300 Subject: [PATCH] Attempt to reduce noise in PRs generated by codecov This commit is an attempt to reduce the noise in PRs generated by the code coverage comment posted automatically by Codecov. It changes Codecov configuration to post a comment to a PR only if it changes the code coverage and it also removes reach graph, the diff image and the flags from the comment content. Leaving only a list of the files impacted by the PR. My initial plan was to leave in the comment content only a link to the full report, but I couldn't find a way to do that in the documentation (https://docs.codecov.io/docs/pull-request-comments). --- .codecov.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.codecov.yml b/.codecov.yml index 7588d3448d7..115ca2cc537 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -21,6 +21,6 @@ parsers: macro: no comment: - layout: "reach, diff, flags, files, footer" + layout: "files" behavior: default - require_changes: no + require_changes: yes