Skip to content

CI: run tests on Windows and macOS in addition to Linux #882

Description

@EhabY

Problem

We've hit multiple test failures that only surface on Windows (and potentially macOS):

  • Path separator mismatches (/ vs \) in assertions
  • Shell quoting differences (single quotes on Unix vs double quotes on Windows)
  • execFile unable to spawn .cmd shims on Windows
  • cross-env needed for environment variable syntax in npm scripts

These issues are caught late, only when someone manually runs tests on a non-Linux machine.

Proposal

Add Windows and macOS runners to the CI test matrix so cross-platform regressions are caught automatically.

References

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions