Skip to content

ci: fix coverage badge push and update actions for Node.js 24#28

Merged
anzalks merged 1 commit into
mainfrom
fix/badge-and-nodejs-actions
Jun 13, 2026
Merged

ci: fix coverage badge push and update actions for Node.js 24#28
anzalks merged 1 commit into
mainfrom
fix/badge-and-nodejs-actions

Conversation

@anzalks

@anzalks anzalks commented Jun 13, 2026

Copy link
Copy Markdown
Owner

Fixes

Coverage badge showing 0%

The Push coverage badge data step was re-running pytest, which triggered
conftest.py::pytest_sessionfinishos._exit() before pytest-cov could
write coverage.xml. With set -e in bash, the non-zero exit code aborted
the script before git push ran. Fix: read coverage data already collected
by the main test run via python -m coverage report --include='*/Synaptipy/core/**'.
No second pytest invocation needed.

Node.js 24 (mandatory from 2026-06-16)

  • codecov/codecov-action v5 → v7
  • actions/github-script v7 → v9
  • softprops/action-gh-release v2 → v3

Closes #23, #24, #26

Badge fix: the 'Push coverage badge data' step was re-running pytest which
triggered conftest.py::pytest_sessionfinish -> os._exit() before pytest-cov
could write coverage.xml. With bash set -e, exit code 3 aborted the script
before git push ran. Fix: read coverage data already collected by the main
test run using python -m coverage report --include='*/Synaptipy/core/**'.
No second pytest invocation needed.

Node.js 24 (mandatory from 2026-06-16):
- codecov/codecov-action v5 -> v7
- actions/github-script v7 -> v9
- softprops/action-gh-release v2 -> v3

Closes dependabot PRs: #23 (action-gh-release), #24 (github-script), #26 (codecov-action)
@anzalks anzalks merged commit b5374c6 into main Jun 13, 2026
24 checks passed
@anzalks anzalks deleted the fix/badge-and-nodejs-actions branch June 13, 2026 09:02
@github-actions

Copy link
Copy Markdown

Coverage report

This PR does not seem to contain any modification to coverable code.

@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.55%. Comparing base (5779fd8) to head (5eaee42).
⚠️ Report is 2 commits behind head on main.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff            @@
##           main      #28       +/-   ##
=========================================
+ Coverage      0   91.55%   +91.55%     
=========================================
  Files         0       55       +55     
  Lines         0     7826     +7826     
=========================================
+ Hits          0     7165     +7165     
- Misses        0      661      +661     
Flag Coverage Δ
unittests 91.55% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 55 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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