Skip to content

🧪 Fix dead codecov upload, modernize CI actions#272

Merged
chrisjsewell merged 1 commit into
mainfrom
brief/05-ci-modernization
Jul 12, 2026
Merged

🧪 Fix dead codecov upload, modernize CI actions#272
chrisjsewell merged 1 commit into
mainfrom
brief/05-ci-modernization

Conversation

@chrisjsewell

@chrisjsewell chrisjsewell commented Jul 12, 2026

Copy link
Copy Markdown
Member

Coverage upload has been silently dead since #250: the condition still checked matrix.python-version == '3.9', which left the matrix. Part of #265 (Phase 1).

  • Fixed upload condition: fires on exactly one cell (py3.13 + Sphinx ~=8.0 + ubuntu), for same-repo PRs and pushes to main (fork PRs excluded as before — they lack the token).
  • codecov/codecov-action v3 → v5 (file:files:; token/flags/fail_ci_if_error preserved).
  • Top-level concurrency group cancelling superseded runs per ref.
  • actions/checkout → v5, actions/setup-python → v6 across all jobs.
  • Publish job auth untouched (trusted publishing is a separate change).

First run on this PR should show the Codecov step actually executing; the first upload after the long gap may show a large coverage delta on codecov.io.

@codecov

codecov Bot commented Jul 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.08%. Comparing base (0b178a9) to head (4aef972).
⚠️ Report is 18 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #272      +/-   ##
==========================================
+ Coverage   87.87%   88.08%   +0.21%     
==========================================
  Files          11       11              
  Lines        1031     1041      +10     
==========================================
+ Hits          906      917      +11     
+ Misses        125      124       -1     
Flag Coverage Δ
pytests 88.08% <ø> (+0.21%) ⬆️

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.

The Codecov upload step's condition still required
matrix.python-version == '3.9', which left the test matrix in #250, so
coverage has been silently dead (never uploaded) since then. Re-key the
condition to the py3.13 / Sphinx ~=8.0 / ubuntu-latest cell, and allow
it to fire on pushes to main as well as same-repo PRs.

Also:

- Bump codecov/codecov-action v3 -> v5 (deprecated), renaming the
  `file:` input to `files:` per the v4+ API.
- Add a top-level concurrency group keyed on workflow + ref with
  cancel-in-progress, so superseded pushes stop wasting runners.
- Bump actions/checkout v4 -> v5 and actions/setup-python v5 -> v6 in
  all jobs.
@chrisjsewell chrisjsewell force-pushed the brief/05-ci-modernization branch from ebb79b3 to 4aef972 Compare July 12, 2026 13:27
@chrisjsewell chrisjsewell merged commit 5f41b8e into main Jul 12, 2026
25 checks passed
@chrisjsewell chrisjsewell deleted the brief/05-ci-modernization branch July 12, 2026 13:53
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.

2 participants