Repository navigation
ci: replace OpenCppCoverage with Microsoft native coverage - #220
Merged
Merged
Conversation
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #220 +/- ##
==========================================
- Coverage 73.62% 73.18% -0.45%
==========================================
Files 44 44
Lines 10705 9810 -895
Branches 3651 3651
==========================================
- Hits 7882 7179 -703
+ Misses 2182 1999 -183
+ Partials 641 632 -9
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report in Codecov by Harness.
|
5 of 18 tasks
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.



Description
Replace the archived OpenCppCoverage dependency in the MSVC CI job with Visual Studio's bundled Microsoft.CodeCoverage.Console. Configure the collector through an XML template and keep collection, result validation, and path normalization in the workflow.
Enable
/PROFILE /INCREMENTAL:NOonly for the GoogleTest executable, instrument that executable, and restore it after collection. Preserve Cobertura and GoogleTest report outputs and the existing source filters. GCC/Clang coverage continues to use gcovr.Screenshot
Issues Fixed or Closed
Roadmap Issues
Testing
Local validation:
check-package-coverage.shpassed for both builds.actionlint,yamllint,cmake-lint, XML/PowerShell parsing, andgit diff --checkpassed.No new test files are included for this workflow integration. The native collector is unavailable in the local Visual Studio Community installation.
Hosted validation on
add599dpassed for Windows MSVC (including test execution, native coverage collection, and report normalization), Windows MinGW/UCRT64, Linux GCC/Clang, FreeBSD, CodeQL, and common lint. Both macOS jobs were cancelled because GitHub could not allocate hosted runners.Corrected a Read the Docs failure caused by the XML-template link in the development guide. Strict local Doxygen generation reproduces the unresolved reference before the correction and passes afterward. Hosted validation of the documentation correction is pending.
Type of Change
Checklist
AI Usage
See our AI usage policy.
Codex assisted with implementation, validation, and the PR description.
Generated by Codex (GPT-6; thinking level not exposed in this session).