Skip to content

ci: include gtests in code coverage report#3385

Merged
JimB123 merged 2 commits intovalkey-io:unstablefrom
harrylin98:Fix_code_cov
Mar 24, 2026
Merged

ci: include gtests in code coverage report#3385
JimB123 merged 2 commits intovalkey-io:unstablefrom
harrylin98:Fix_code_cov

Conversation

@harrylin98
Copy link
Copy Markdown
Contributor

@harrylin98 harrylin98 commented Mar 19, 2026

The change includes running gtest unit tests in the code coverage report.

@harrylin98 harrylin98 force-pushed the Fix_code_cov branch 5 times, most recently from 2aa0f43 to ae881d3 Compare March 20, 2026 04:06
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.43%. Comparing base (3c46f66) to head (3014561).
⚠️ Report is 1 commits behind head on unstable.

Additional details and impacted files
@@             Coverage Diff              @@
##           unstable    #3385      +/-   ##
============================================
+ Coverage     74.93%   76.43%   +1.49%     
============================================
  Files           130      159      +29     
  Lines         72769    79652    +6883     
============================================
+ Hits          54532    60884    +6352     
- Misses        18237    18768     +531     

see 65 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@harrylin98 harrylin98 marked this pull request as ready for review March 20, 2026 15:03
@harrylin98 harrylin98 requested a review from madolson March 20, 2026 15:04
Signed-off-by: harrylin98 <harrylin980107@gmail.com>
@sarthakaggarwal97
Copy link
Copy Markdown
Contributor

@harrylin98 how did you test this?

@harrylin98
Copy link
Copy Markdown
Contributor Author

@sarthakaggarwal97 I added this change to PR #3341. Since this is an internal API, the PR only has unit tests and no integration tests. Previously, Codecov reported almost all lines in the new feature files as missing because valkey.info didn’t detect related integration tests. After this change, patch coverage is now 98% with only 8 lines missing.

image

@JimB123 JimB123 merged commit 78ee1f5 into valkey-io:unstable Mar 24, 2026
58 checks passed
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.

4 participants