RDKEMW-17673 : Add info coverage gate to CI#81
Open
swethasukumarr wants to merge 2 commits into
Open
Conversation
Contributor
Contributor
There was a problem hiding this comment.
Pull request overview
Adds an informational coverage “gate” to the CI workflow by producing/archiving LCOV artifacts from unit + component test runs, comparing them against a stored baseline on a build-metadata branch, and (on develop pushes) updating that baseline automatically.
Changes:
- Generate and upload LCOV (
filtered_coverage.info) artifacts for unit and component test jobs. - Add
coverage_gatejob to fetch the baseline and report threshold/regression status (non-blocking). - Add
update_baselinejob (push todeveloponly) plus a new Python script + tests to compute and persist baseline coverage.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
.github/workflows/ci.yml |
Adds LCOV generation/artifacts, plus new coverage_gate and update_baseline jobs. |
.github/scripts/compare_coverage.py |
New script to parse LCOV, compare vs baseline, print report, and optionally emit baseline JSON. |
.github/scripts/compare_coverage_test.py |
New unittest suite covering parsing/analysis and end-to-end report scenarios. |
mhughesacn
requested changes
Jun 17, 2026
mhughesacn
left a comment
There was a problem hiding this comment.
Hi @swethasukumarr : If the two python files are from RDK, not Comcast, then please add this to the end of NOTICE at top level:
Copyright 2026 RDK Management
Licensed under the Apache License, Version 2.0
or they should have Comcast Apache headers. Thank you.
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.
No description provided.