Add .NET 10 to test matrix - #913
Merged
Merged
Conversation
Romfos
requested review from
Copilot and
dtchepak
and removed request for
dtchepak
October 21, 2025 21:57
There was a problem hiding this comment.
Pull Request Overview
This PR adds .NET 10 support to the project's test matrix and CI/CD pipelines. The changes prepare the project to test against the upcoming .NET 10 framework alongside existing .NET 8, 9, and .NET Framework 4.6.2 targets.
Key changes:
- Added
net10.0target framework to test projects - Updated GitHub Actions workflows to include .NET 10.0.x setup and testing
- Updated NUnit3TestAdapter package version to 5.2.0 for compatibility
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| tests/NSubstitute.Documentation.Tests/NSubstitute.Documentation.Tests.csproj | Added net10.0 target framework and upgraded NUnit3TestAdapter to 5.2.0 |
| tests/NSubstitute.Benchmarks/NSubstitute.Benchmarks.csproj | Changed target framework from net8.0 to net10.0 |
| tests/NSubstitute.Acceptance.Specs/NSubstitute.Acceptance.Specs.csproj | Added net10.0 target framework and upgraded NUnit3TestAdapter to 5.2.0 |
| global.json | Added new configuration file specifying Microsoft.Testing.Platform as the test runner |
| .github/workflows/test.yml | Added .NET 10.0.x to setup-dotnet action, added .NET 10 test job, and added --no-progress flag to test commands |
| .github/workflows/release_packages.yml | Updated dotnet-version from 9.0.x to 10.0.x |
| .github/workflows/release_documentation.yml | Added 10.0.x to the multi-line dotnet-version configuration |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Romfos
force-pushed
the
net10
branch
2 times, most recently
from
November 2, 2025 16:52
b266a87 to
370fdb0
Compare
Romfos
marked this pull request as ready for review
November 3, 2025 10:12
dtchepak
approved these changes
Nov 15, 2025
This was referenced Jul 12, 2026
This was referenced Sep 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes:
Note: release in november