RDKEMW-17673 : Add info coverage gate to CI#97
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds an informational CI “coverage gate” for firebolt-cpp-transport by generating an lcov report during unit-test runs, comparing current coverage to a stored baseline, and (on pushes to main) updating that baseline in a dedicated build-metadata branch.
Changes:
- Generate and upload an
lcov(coverage.info) artifact in theunit_testsjob. - Add a new
coverage-gatejob that compares current lcov line coverage to a baseline JSON (informational; does not block PRs). - Add an
update-baselinejob (push-to-mainonly) that writes and commits an updated baseline JSON tobuild-metadata.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
test.sh |
Adds a local (Docker) gcovr summary step after unit tests. |
.github/workflows/ci.yml |
Produces lcov output, uploads it as an artifact, adds coverage-gate + baseline-update jobs. |
.github/scripts/compare_coverage.py |
New Python utility to parse lcov and print baseline/threshold/regression status. |
Contributor
cfe4e48 to
eea66d8
Compare
Contributor
Contributor
|
b'## WARNING: A Blackduck scan failure has been waived A prior failure has been upvoted
|
brendanobra
previously approved these changes
Jun 25, 2026
brendanobra
approved these changes
Jun 26, 2026
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.