Add Python code coverage collection and reporting#685
Merged
Conversation
Co-authored-by: K20shores <[email protected]>
Co-authored-by: K20shores <[email protected]>
Copilot
AI
changed the title
[WIP] Add Python code coverage to report
Add Python code coverage collection and reporting
Nov 24, 2025
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #685 +/- ##
==========================================
+ Coverage 81.12% 81.39% +0.27%
==========================================
Files 65 112 +47
Lines 7538 9837 +2299
==========================================
+ Hits 6115 8007 +1892
- Misses 1423 1830 +407
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
K20shores
approved these changes
Nov 24, 2025
boulderdaze
approved these changes
Nov 24, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Extends code coverage reporting to include Python, matching the existing C++/Fortran and JavaScript coverage setup added in #658 and #683.
Changes:
pytest-cov>=4.0.0to test dependenciespythonflag targeting thepython/directory with XML report uploadpython-coveragejob that builds the wheel, runspytest --cov, and uploads results to CodecovThe workflow mirrors the JavaScript coverage job structure and uses the same test execution pattern as the existing
python-tests.ymlworkflow for consistency.Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.