Skip to content

Fix TestCLIVersion build-type check for release CI#1627

Merged
katiewasnothere merged 1 commit into
apple:mainfrom
zdk:fix/1626-version-buildtype-ci
Jun 2, 2026
Merged

Fix TestCLIVersion build-type check for release CI#1627
katiewasnothere merged 1 commit into
apple:mainfrom
zdk:fix/1626-version-buildtype-ci

Conversation

@zdk
Copy link
Copy Markdown
Contributor

@zdk zdk commented Jun 2, 2026

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Motivation and Context

Refer to #1626

Fix by using the expected build from the test's compile config.

Testing

  • Tested locally
  • Added/updated tests
  • Added/updated docs

Tested Result:
Screenshot 2569-06-02 at 16 39 05@2x

- Detected expected build via executable path (/debug/, /release/),
  but CI runs the CLI from bin/container — neither substring matched,
  so it fell back to 'debug' and mismatched the release binary.
- Derive expected build from the test's own compile config (#if DEBUG),
  mirroring ReleaseVersion.buildType(); CLI and tests are always built
  with the same -c configuration.
@zdk zdk changed the title Fix TestCLIVersion build-type check for release CI (#1626) Fix TestCLIVersion build-type check for release CI Jun 2, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 2, 2026

Code Coverage

Tier Line Coverage
Unit 34.69%
Integration 19.8%
Combined 53.86%

@katiewasnothere katiewasnothere merged commit 4c22305 into apple:main Jun 2, 2026
4 checks passed
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