From 30b7497c38e1efd19f7c581023a754d251d7a884 Mon Sep 17 00:00:00 2001 From: Max Jones <14077947+maxrjones@users.noreply.github.com> Date: Mon, 7 Jul 2025 09:12:49 -0400 Subject: [PATCH 1/3] Remove duplicate codecov configuration --- .github/codecov.yml | 15 --------------- codecov.yml | 19 +++++++++++++------ 2 files changed, 13 insertions(+), 21 deletions(-) delete mode 100644 .github/codecov.yml diff --git a/.github/codecov.yml b/.github/codecov.yml deleted file mode 100644 index e9b99c8214..0000000000 --- a/.github/codecov.yml +++ /dev/null @@ -1,15 +0,0 @@ -coverage: - status: - project: - default: - target: 100 - threshold: 0.1 - patch: - default: - target: 100 -comment: - layout: "diff, files" - behavior: default - require_changes: true # if true: only post the comment if coverage changes - branches: # branch names that can post comment - - "main" diff --git a/codecov.yml b/codecov.yml index 9ab6e0fc1b..1c71ecc8e5 100644 --- a/codecov.yml +++ b/codecov.yml @@ -2,13 +2,20 @@ coverage: status: patch: default: - target: auto - after_n_builds: 10 # Wait for all 10 reports before updating the status + target: 100 project: default: - target: auto + target: 100 threshold: 0.1 - after_n_builds: 2 # Wait for all 10 reports before updating the status -comment: false +codecov: + notify: + after_n_builds: 10 # Wait for all 10 reports before updating the status + wait_for_ci: yes +comment: + layout: "diff, files" + behavior: default + require_changes: true # if true: only post the comment if coverage changes + branches: # branch names that can post comment + - "main" github_checks: - annotations: false + annotations: false \ No newline at end of file From d88354b5cd8295bfa4900366304dfa286f71533d Mon Sep 17 00:00:00 2001 From: Max Jones <14077947+maxrjones@users.noreply.github.com> Date: Mon, 7 Jul 2025 09:17:29 -0400 Subject: [PATCH 2/3] Lint --- codecov.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codecov.yml b/codecov.yml index 1c71ecc8e5..40b786e595 100644 --- a/codecov.yml +++ b/codecov.yml @@ -18,4 +18,4 @@ comment: branches: # branch names that can post comment - "main" github_checks: - annotations: false \ No newline at end of file + annotations: false From 044be27c83ac796cb6fc544b8fc0299debb73737 Mon Sep 17 00:00:00 2001 From: Max Jones <14077947+maxrjones@users.noreply.github.com> Date: Mon, 7 Jul 2025 09:38:04 -0400 Subject: [PATCH 3/3] Use auto target --- codecov.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codecov.yml b/codecov.yml index 40b786e595..3e30f82a31 100644 --- a/codecov.yml +++ b/codecov.yml @@ -2,10 +2,10 @@ coverage: status: patch: default: - target: 100 + target: auto project: default: - target: 100 + target: auto threshold: 0.1 codecov: notify: