Skip to content

Run the test suite on Windows in CI - #2

Merged
Aryanutkarsh merged 1 commit into
mainfrom
ci/windows-tests
Oct 9, 2026
Merged

Aryanutkarsh merged 1 commit into
mainfrom
ci/windows-tests

Conversation

@Aryanutkarsh

Copy link
Copy Markdown
Owner

Adds windows-latest (Node 22) to the CI test matrix so export, viewer, import and folder code is exercised on Windows, not just installed.

  • Windows runs on Node 22 only: cmd.exe doesn't expand test/*.test.mjs, and node --test expands globs itself only from Node 21.
  • Export tests open pages with pathToFileURL instead of file://${path}, which is invalid for C:\\ paths.

Line endings are already pinned to LF by .gitattributes; zip tests skip where unzip is missing.

Windows runs on Node 22 only (cmd.exe leaves the test glob unexpanded and
node --test expands it itself from Node 21). Export tests open pages with
pathToFileURL, since file://${path} is not a valid URL for C:\ paths.
Copilot AI balanced review requested due to automatic review settings October 9, 2026 14:09

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@Aryanutkarsh
Aryanutkarsh merged commit 82c33b6 into main Oct 9, 2026
8 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