[build] add code coverage to provider_integration workflow#352
Open
zimmy87 wants to merge 33 commits into
Open
[build] add code coverage to provider_integration workflow#352zimmy87 wants to merge 33 commits into
zimmy87 wants to merge 33 commits into
Conversation
…k in provider_integration workflow
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the repo’s xtask and CI workflow so the provider_integration GitHub Actions job runs integration tests under cargo llvm-cov and emits a coverage summary via xtask precheck --coverage-report.
Changes:
- Extend
xtask coverageto accept nextest-like arguments (features/package/profile/filterset/exclude) and forward them tocargo llvm-cov nextest. - Update
xtask precheckto pass coverage configuration (and to run multiple coverage invocations in the default “SDK” path). - Switch
provider_integrationworkflow steps from--nextestto--coverage, and add a coverage summary step.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
xtask/src/precheck.rs |
Routes precheck --coverage into parameterized Coverage runs (default SDK + resiliency runs, or user-provided package/features). |
xtask/src/coverage.rs |
Adds CLI flags to Coverage and builds argument lists for cargo llvm-cov nextest. |
.github/workflows/rust.yml |
Runs provider integration test packages with coverage and adds a coverage summary report step. |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…g sdk-cov.json Agent-Logs-Url: https://github.com/Azure/azihsm-sdk/sessions/36ef3ca2-4175-4870-bd8a-2cfb4384dfc3 Co-authored-by: zimmy87 <5205889+zimmy87@users.noreply.github.com>
…h default precheck runs Agent-Logs-Url: https://github.com/Azure/azihsm-sdk/sessions/c036d7d2-3887-40af-8d85-48d245439a70 Co-authored-by: zimmy87 <5205889+zimmy87@users.noreply.github.com>
…ub.com/Azure/azihsm-sdk into user/v-davidz/provider_integration_cov
rajesh-gali
reviewed
May 20, 2026
rajesh-gali
requested changes
May 20, 2026
…factor to eliminate duplicate test parameter definitions
…ub.com/Azure/azihsm-sdk into user/v-davidz/provider_integration_cov
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
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.
No description provided.