Skip to content

refactor: enhance CI workflow with C++ linting and coverage checks#2

Merged
VPRamon merged 3 commits intomainfrom
tooling
Feb 20, 2026
Merged

refactor: enhance CI workflow with C++ linting and coverage checks#2
VPRamon merged 3 commits intomainfrom
tooling

Conversation

@VPRamon
Copy link
Member

@VPRamon VPRamon commented Feb 20, 2026

This pull request updates the GitHub Actions CI workflow to add automated C++ linting and code coverage reporting. These enhancements ensure code quality and provide visibility into test coverage directly in pull requests.

CI workflow improvements:

  • C++ Linting:

    • Added a new lint-cpp job that runs clang-format and clang-tidy on all C++ source and header files to enforce code style and catch potential issues early.
  • Coverage Reporting:

    • Introduced a coverage job that builds the project with coverage flags, runs tests, generates Cobertura XML and HTML coverage reports, and summarizes the results in Markdown.
    • The coverage summary is posted as a comment on pull requests and uploaded as an artifact for further inspection.

Permissions:

  • Updated workflow permissions to allow writing to checks and pull-requests, enabling posting of coverage comments.

@VPRamon VPRamon self-assigned this Feb 20, 2026
@github-actions
Copy link

Code Coverage

Package Line Rate Branch Rate Complexity Health
include.siderust 87% 43% 0
include.siderust.coordinates 100% 50% 0
Summary 90% (228 / 254) 44% (133 / 302) 0

@VPRamon VPRamon merged commit 50c7315 into main Feb 20, 2026
3 checks passed
@VPRamon VPRamon deleted the tooling branch February 20, 2026 10:22
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.

1 participant