[PR #1047] [CLOSED] feat(ci): add code coverage support with lcov and Codecov integration Closes #688 #1979

Closed
opened 2026-10-29 21:31:50 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/kvcache-ai/Mooncake/pull/1047
Author: @LiYiMing-lg
Created: 11/11/2025
Status: ❌ Closed

Base: main ← Head: add-code-coverage


📝 Commits (3)

  • 489e91c feat(ci): add code coverage support with lcov and Codecov integration
  • 96e1c6c fix: add error handling to coverage generation to pass CI
  • 279c6d4 feat: add Python package version verification (closes #979)

📊 Changes

4 files changed (+91 additions, -4 deletions)

View changed files

📝 .github/workflows/ci.yml (+48 -4)
📝 mooncake-wheel/mooncake/__init__.py (+25 -0)
📝 mooncake-wheel/mooncake/mooncake_config.py (+14 -0)
📝 mooncake-wheel/setup.py (+4 -0)

📄 Description

Description

This PR adds code coverage support to the CI pipeline by integrating lcov/gcov for coverage reporting and Codecov for visualization.

Changes

  • Added coverage tools installation (lcov, gcovr)
  • Modified CMake configuration to enable coverage compilation
  • Added coverage report generation using lcov
  • Integrated Codecov action for automated coverage reporting
  • Coverage reports will be generated for each PR and main branch builds

Testing

  • Coverage data is collected during make test execution
  • Reports are uploaded to Codecov for better visualization

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/kvcache-ai/Mooncake/pull/1047 **Author:** [@LiYiMing-lg](https://github.com/LiYiMing-lg) **Created:** 11/11/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `add-code-coverage` --- ### 📝 Commits (3) - [`489e91c`](https://github.com/kvcache-ai/Mooncake/commit/489e91c0863fc02b8dfde7d34503faa00f5b4325) feat(ci): add code coverage support with lcov and Codecov integration - [`96e1c6c`](https://github.com/kvcache-ai/Mooncake/commit/96e1c6c06bc4f06fc98e8bee417e69fccc045407) fix: add error handling to coverage generation to pass CI - [`279c6d4`](https://github.com/kvcache-ai/Mooncake/commit/279c6d423bec21edb453506eaf87b6f6983c176e) feat: add Python package version verification (closes #979) ### 📊 Changes **4 files changed** (+91 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/ci.yml` (+48 -4) 📝 `mooncake-wheel/mooncake/__init__.py` (+25 -0) 📝 `mooncake-wheel/mooncake/mooncake_config.py` (+14 -0) 📝 `mooncake-wheel/setup.py` (+4 -0) </details> ### 📄 Description ## Description This PR adds code coverage support to the CI pipeline by integrating lcov/gcov for coverage reporting and Codecov for visualization. ## Changes - Added coverage tools installation (lcov, gcovr) - Modified CMake configuration to enable coverage compilation - Added coverage report generation using lcov - Integrated Codecov action for automated coverage reporting - Coverage reports will be generated for each PR and main branch builds ## Testing - Coverage data is collected during `make test` execution - Reports are uploaded to Codecov for better visualization --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-29 21:31:50 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kvcache-ai/Mooncake#1979
No description provided.