From 473ececba3440b01383133857544f753ca0dda99 Mon Sep 17 00:00:00 2001 From: Arun Saha Date: Tue, 25 Nov 2025 21:55:14 -0800 Subject: [PATCH] codecov workaround The code-coverage, computed successfully, could not be uploaded to app.codecov.io because of the following Missing Base Commit Unable to compare commits because no base commit was found This patch is an attempt to get around that. Also marked codecoverage failure cannot fail CI. --- .github/workflows/ci.yml | 2 +- codecov.yml | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 codecov.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 838bc63..a8d95ed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,4 +53,4 @@ jobs: with: files: coverage.out flags: unittests - fail_ci_if_error: true + fail_ci_if_error: false diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..c02eb39 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,16 @@ +coverage: + status: + project: + default: + target: auto + threshold: 75% + base: auto + patch: + default: + target: auto + threshold: 75% + base: auto + +codecov: + require_ci_to_pass: false + disable_default_path_fixes: true