Skip to content

Add a CI workflow for Linux and macOS #1542

Open

Description

@OsirisTerje

All three workflows run on windows-latest, so the adapter's own tests never run on Linux or macOS. The adapter does work there: the framework CI runs dotnet test with NUnit3TestAdapter 6.3.1 on ubuntu-latest and macos-14. But a regression in the adapter would only show up after release.

Add a new workflow, for example NUnit3TestAdapter.CrossPlatform.yml, with an ubuntu-latest / macos-latest matrix that builds the solution and runs the DotnetTest-net8.0 Cake target.

Scope:

  • net8.0 only. net462 off Windows needs Mono, and the test platform no longer supports hosting on Mono (see Restore Linux Mono coverage using the repository NUnitLite runner nunit#5552).
  • VSTest-* and Acceptance stay Windows-only. They use vstest.console.exe, and the acceptance runner is net48 with a legacy csproj.
  • The repo has only build.cmd and build.ps1. Either add a build.sh or call dotnet tool restore and dotnet cake directly.
  • The non-Windows branch of the Build task in build.cake has never run in CI and may need fixes.

Related: the .NET 11 discussion in #1541.

🤖 Made by @OsirisTerje with Claude

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