Skip to content

Add Windows CI #988

Description

@YasharF

Versions

  • NodeJS: 24 or 26
  • mongodb-memory-server-*: 11.1.0
  • mongodb(the binary version): latest
  • mongodb(the js package): latest
  • system: Windows

package: mongo-memory-server

What is your question?

Is Windows officially supported? I was under the impression that it would be, so wanted to contribute by adding Windows-latest to the GitHub Action build matrix, but then realized there are two issues that make it more challenging than a simple workflow edit:

  1. Some tests seem to have hardcoded Linux paths which won't work for a Windows installation.
  2. I saw some complexity with older MongoDB versions and libssl, which I am not quite sure the Windows equivalent tests for.

As far as just adding windows-latest to the GitHub Action the change is somewhat minor as it can be seen here: https://github.com/YasharF/mongodb-memory-server/commit/1903ef69c1eef342727345746baa7c19a55c1e04

But that is not enough as I mentioned and this GitHub Action run result: https://github.com/YasharF/mongodb-memory-server/actions/runs/26327024093

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions