Skip to content

DO NOT MERGE - feat(cli-integ): also run integ test suites on Windows - #1781

Draft
iankhou wants to merge 2 commits into
mainfrom
iankhou-windows-integ
Draft

DO NOT MERGE - feat(cli-integ): also run integ test suites on Windows#1781
iankhou wants to merge 2 commits into
mainfrom
iankhou-windows-integ

Conversation

@iankhou

@iankhou iankhou commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Do not merge this. This is a POC.

Adds windowsTestRunsOn to the integ workflow. Every integ suite (currently running on Ubuntu) will now also run on Windows Server 2019 (windows-latest).

Windows jobs download the built artifacts and run the suites using Git Bash.

Checklist

  • This change contains a major version upgrade for a dependency and I confirm all breaking changes are addressed
    • Release notes for the new version:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

Adds windowsTestRunsOn to the integ workflow. When set, every integ suite
(integ_cli, integ_toolkit-lib, integ_telemetry, integ_init-templates,
integ_tool-integrations) is instantiated a second time on a Windows runner,
suffixed with _windows, to catch platform-specific regressions in path
handling and subprocess spawning.

The prepare/build job stays on Linux, so there is no repo checkout on the
Windows runners; they only download the built artifacts and run the suites.
Steps run under Git Bash so the shared bash step scripts work unchanged.
@github-actions

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

pm2's fork mode cannot launch the global `verdaccio` bin on Windows because
it is a `.cmd` shim, not a Node script, so the registry never came up and
every integ job failed at the publish step. Resolve the JS entrypoint and
start it with an explicit `--interpreter node`, which works on all platforms.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants