From 5a60d2773e1e420fac8c2715be95e3749aab5e02 Mon Sep 17 00:00:00 2001 From: Christian Beer Date: Sun, 19 May 2019 13:06:21 +0200 Subject: [PATCH] Tests: tune codecov comments While the reason for the double comments by codecov is still unclear to me this change should disable the comments altogether if the coverage is not affected by this PR. --- .codecov.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.codecov.yml b/.codecov.yml index 14ed6d3f2e..013b25778c 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -5,14 +5,17 @@ codecov: coverage: status: project: off - patch: on + patch: + default: + threshold: 0.01 comment: layout: "diff, files" behavior: default - require_changes: false # if true: only post the comment if coverage changes + require_changes: yes # if true: only post the comment if coverage changes require_base: no # [yes :: must have a base report to post] require_head: yes # [yes :: must have a head report to post] + branch: master flags: # filter the folder(s) you wish to measure by that flag