Skip to content

CI: run tests on Windows to catch platform-specific failures #266

Open

Description

@theprinceraj

The Test job in ci.yml only runs on ubuntu-latest, so Windows-specific test failures go unnoticed. The job already has an Install OpenSSL (Windows) step that never runs, so Windows testing seems to have been intended.

Windows failures found so far

Fixed in open PRs:

Still failing on Windows 11 with both PRs applied (cargo test --no-fail-fast):

  • pipeline_test::test_file_discovery_stage_with_files_and_globs — the pipeline returns \ paths (.tmpXXXX\src\lib.rs), unlike parallel.rs, which normalizes to /. Possibly a real bug in src/pipeline.rs.
  • repository_test::test_real_file_system_resolve_symlink — os error 1314: creating symlinks needs Developer Mode or admin. Likely passes on GitHub runners, which run as admin.

Proposal

Run the Test job on both Linux and Windows:

test:
  runs-on: ${{ matrix.os }}
  strategy:
    fail-fast: false
    matrix:
      os: [ubuntu-latest, windows-latest]

While the remaining failures are being fixed, the Windows job could start with continue-on-error: true so it's informational only.

Happy to send a PR for this and for the pipeline_test failure if you agree.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    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