From 1d12765aa0c776c7425437245d8d9a7acdc7f19b Mon Sep 17 00:00:00 2001 From: Madhu Kanoor Date: Wed, 15 Jan 2025 12:00:26 -0500 Subject: [PATCH] chore: trying to add coverage in PR (#1186) --- .github/workflows/ci.yaml | 2 +- codecov.yml | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 codecov.yml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3c4fef0ce..10db987d7 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -105,7 +105,7 @@ jobs: echo "GIT_SHA=$(git rev-parse "$GITHUB_SHA")" >> "$GITHUB_ENV" - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v5 with: env_vars: OS,PYTHON fail_ci_if_error: false diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 000000000..f6d7b6805 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,7 @@ +comment: #this is a top-level key + layout: " diff, flags, files" + behavior: default + require_changes: false # if true: only post the comment if coverage changes + require_base: false # [true :: must have a base report to post] + require_head: true # [true :: must have a head report to post] + hide_project_coverage: false # [true :: only show coverage on the git diff aka patch coverage]]