Skip to content

workflows/check: Add test coverage report#62

Open
RobertZ2011 wants to merge 2 commits intoOpenDevicePartnership:mainfrom
RobertZ2011:test-coverage-report
Open

workflows/check: Add test coverage report#62
RobertZ2011 wants to merge 2 commits intoOpenDevicePartnership:mainfrom
RobertZ2011:test-coverage-report

Conversation

@RobertZ2011
Copy link
Copy Markdown
Contributor

No description provided.

@RobertZ2011 RobertZ2011 self-assigned this Mar 26, 2026
@RobertZ2011 RobertZ2011 marked this pull request as ready for review March 26, 2026 21:49
@RobertZ2011 RobertZ2011 requested a review from a team as a code owner March 26, 2026 21:49
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the CI “check” workflow to generate and publish a test coverage report, and includes a couple of additional unrelated maintenance changes.

Changes:

  • Add LLVM coverage instrumentation to the test job and generate HTML + Step Summary coverage reports via grcov, uploaded as a workflow artifact.
  • Add a cargo-deny advisory ignore entry for RUSTSEC-2025-0141 (bincode).
  • Refactor a StateMachine match arm in the UCSI PPM state machine to use a match guard.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/check.yml Adds coverage instrumentation, runs grcov, publishes HTML report artifact and markdown summary.
deny.toml Ignores a new RustSec advisory with rationale.
src/ucsi/ppm/state_machine.rs Small refactor of a transition arm to a guard-based match.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

3 participants