Skip to content

🔧 Make the Codecov upload non-blocking - #314

Open
chrisjsewell wants to merge 1 commit into
mainfrom
maint/codecov-nonblocking
Open

chrisjsewell wants to merge 1 commit into
mainfrom
maint/codecov-nonblocking

Conversation

@chrisjsewell

Copy link
Copy Markdown
Member

Codecov stays, but it no longer decides whether CI passes.

  • The upload is skipped on Dependabot runs. Those runs get no repository secrets, so the upload always failed ("Token required because branch is protected") and blocked every Dependabot PR through the required checks.
  • fail_ci_if_error: false: any other upload failure (an outage, a token problem) is reported in the step log only.

Coverage is still measured and reported in the job log (--cov-report=term-missing) on every run.

Skip it on Dependabot runs (no secrets) and set fail_ci_if_error: false.
@codecov

codecov Bot commented Nov 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.60%. Comparing base (a166cd9) to head (8684010).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #314   +/-   ##
=======================================
  Coverage   92.60%   92.60%           
=======================================
  Files          13       13           
  Lines        1420     1420           
=======================================
  Hits         1315     1315           
  Misses        105      105           
Flag Coverage Δ
pytests 92.60% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant