From 24e3f035ffd71dcd604c6ad3e06da412056691e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Brey?= Date: Tue, 31 Jan 2023 09:35:25 +0100 Subject: [PATCH] Codecov: post comment only if there are coverage changes AND 2 reports have been received MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We upload coverage for unit tests and integration tests separately. This should prevent showing incorrect info and reduce spam [skip ci] [CI SKIP] Signed-off-by: Álvaro Brey --- .codecov.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.codecov.yml b/.codecov.yml index a47f80e213..12a1858aaa 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -17,6 +17,8 @@ coverage: comment: layout: "header, diff, changes, uncovered, tree" behavior: default + require_changes: true + after_n_builds: 2 github_checks: annotations: false