Skip to content

[build] add job for running MBOR types smoke tests#499

Closed
zimmy87 wants to merge 2 commits into
mainfrom
user/v-davidz/add_mbor_smoke
Closed

[build] add job for running MBOR types smoke tests#499
zimmy87 wants to merge 2 commits into
mainfrom
user/v-davidz/add_mbor_smoke

Conversation

@zimmy87

@zimmy87 zimmy87 commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings June 30, 2026 00:48

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds CI “smoke” coverage for MBOR types on the emulated backend by extending the xtask nextest wrapper with additional selection flags, wiring a new nextest profile for JUnit output, and introducing dedicated workflow jobs.

Changes:

  • Extend cargo xtask nextest with --test and --filter arguments to target specific integration test binaries and name filters.
  • Add a Nextest profile (ci-mbor-smoke) to emit junit.xml for MBOR smoke runs.
  • Add Ubuntu/Windows GitHub Actions jobs intended to run MBOR types smoke tests against the emu backend.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 7 comments.

File Description
xtask/src/precheck.rs Adds an MBOR emu test run to the “run all nextest” path; updates Nextest {} literals for new fields.
xtask/src/nextest.rs Adds --test and --filter to the xtask wrapper and forwards them to cargo nextest run.
.github/workflows/rust.yml Adds new Ubuntu/Windows smoke jobs intended to run MBOR types smoke tests and generate reports.
.config/nextest.toml Adds ci-mbor-smoke profile JUnit output configuration.

Comment thread xtask/src/precheck.rs
Comment on lines +9 to +10
use std::vec;

Comment thread xtask/src/precheck.rs
Comment on lines +215 to +216
test: None,
filter: vec![],
Comment thread xtask/src/nextest.rs
Comment on lines +44 to +50
/// Test only the specified test target
#[clap(long)]
pub test: Option<String>,

/// Test name filters
#[clap(long)]
pub filter: Vec<String>,
Comment on lines +121 to +124
- name: Run MBOR types smoke tests against emu backend
id: test-mbor-smoke
run: cargo xtask precheck --nextest --package azihsm_ddi_mbor_types --features emu --test azihsm_ddi_tests --filter smoke
continue-on-error: true
Comment on lines +128 to +130
- name: Code Coverage Summary Report
if: ${{ steps.test-mbor-smoke.outcome == 'success' }}
run: cargo xtask precheck --coverage-report
Comment on lines +216 to +219
- name: Run MBOR types smoke tests against emu backend
id: test-mbor-smoke
run: cargo xtask precheck --nextest --package azihsm_ddi_mbor_types --features emu --test azihsm_ddi_tests --filter smoke
continue-on-error: true
Comment on lines +223 to +225
- name: Code Coverage Summary Report
if: ${{ steps.test-mbor-smoke.outcome == 'success' }}
run: cargo xtask precheck --coverage-report
@zimmy87

zimmy87 commented Jun 30, 2026

Copy link
Copy Markdown
Contributor Author

closing in favor of #502

@zimmy87 zimmy87 closed this Jun 30, 2026
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.

2 participants