From debcf45016b25ed78a78e3d44368e7d6f2621bf2 Mon Sep 17 00:00:00 2001 From: Vitalii Koshura Date: Mon, 22 Mar 2021 14:02:31 +0100 Subject: [PATCH] [Codecov] Fix codecov.yml to wait for all reports before reporting status Signed-off-by: Vitalii Koshura --- .codecov.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.codecov.yml b/.codecov.yml index 31e0416228..3cc06fe3dd 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -1,6 +1,8 @@ codecov: + require_ci_to_pass: yes notify: - require_ci_to_pass: yes + after_n_builds: 2 + wait_for_ci: yes coverage: status: @@ -15,7 +17,9 @@ comment: 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 + branches: + - master + after_n_builds: 2 flags: # filter the folder(s) you wish to measure by that flag