[GHA] Add Code Coverage workflow#4071
Draft
mkruszyx wants to merge 7 commits into
Draft
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Adds a scheduled/manual GitHub Actions workflow to run Python test suites under coverage, collect artifacts, generate an aggregated summary, and upload coverage data to Codecov.
Changes:
- Introduces a new
coverage.ymlworkflow that runs multiple Python coverage lanes (core matrix, ExecuTorch, weight-compression split lanes) and publishes artifacts/summaries. - Adds
.github/coverage/tests_python.ymldescribing the Python coverage suite commands and upload metadata for the coverage toolkit.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| .github/workflows/coverage.yml | New CI workflow to run coverage lanes, collect artifacts, build summary, and upload to Codecov. |
| .github/coverage/tests_python.yml | New Python coverage suite definition (commands, artifacts, uploads) consumed by the coverage toolkit action. |
| schedule: | ||
| - cron: '0 0 * * *' | ||
|
|
||
| permissions: read-all |
| uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 | ||
|
|
||
| - name: Install coverage Python dependencies | ||
| uses: mkruszyx/openvino/.github/actions/coverage_toolkit@composite-coverage |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #4071 +/- ##
===========================================
- Coverage 91.29% 90.81% -0.49%
===========================================
Files 496 299 -197
Lines 47676 29377 -18299
===========================================
- Hits 43526 26678 -16848
+ Misses 4150 2699 -1451 see 795 files with indirect coverage changes
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
Collaborator
|
Questions in JIRA was ignored, so close PR |
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.
DO NOT MERGE - WORK IN PROGRESS
Changes
The new workflow adds coverage collection for NNCF test scopes.
Uses composite-action from openvino repository for coverage-specific steps.
Related tickets
CVS-184859