Skip to content

Add net10.0 to CI test matrix (#7690) - #7743

Open
architdhakar wants to merge 6 commits into
dotnet:mainfrom
architdhakar:add-net10-ci-matrix
Open

architdhakar wants to merge 6 commits into
dotnet:mainfrom
architdhakar:add-net10-ci-matrix

Conversation

@architdhakar

Copy link
Copy Markdown

Fixes #7690

Summary

  • Added net10.0 to supported test target frameworks in test/Directory.Build.props.
  • Configured .NET 10 runtime payload installation in global.json and eng/Versions.props.
  • Updated build/ci/job-template.yml to set net10.0 as the default test target while keeping explicit net8.0 matrix coverage.

Copilot AI lite review requested due to automatic review settings September 26, 2026 14:22
@dotnet-policy-service dotnet-policy-service Bot added the community-contribution Pull requests submitted by community contributors label Sep 26, 2026
@architdhakar

Copy link
Copy Markdown
Author

@dotnet-policy-service agree

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Helix payloads and custom architecture matrices do not yet guarantee .NET 10 coverage and runtime availability.

Review effort: Lite
Findings: 3 High severity · 1 Medium severity

Open (4)
What changed in this PR

Adds .NET 10 test targeting and CI matrix coverage while retaining .NET 8 compatibility.

Changes:

  • Adds net10.0 test targeting.
  • Registers the .NET 10 runtime version.
  • Updates CI matrices with .NET 10 and explicit .NET 8 jobs.
File Description
test/​Directory.Build.props Enables .NET 10 test targets.
global.json Adds .NET 10 runtime metadata.
eng/​Versions.props Defines the .NET 10 runtime version.
build/​ci/​job-template.yml Updates CI matrix targets.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread build/ci/job-template.yml
_config_short: D
_includeBenchmarkData: false
_targetFramework: net8.0
_targetFramework: net10.0
Comment thread eng/Versions.props
<BenchmarkDotNetVersion>0.13.12</BenchmarkDotNetVersion>
<DotNetRuntime60Version>6.0.36</DotNetRuntime60Version>
<DotNetRuntime80Version>8.0.16</DotNetRuntime80Version>
<DotNetRuntime100Version>10.0.0</DotNetRuntime100Version>
Comment thread global.json
Comment thread build/ci/job-template.yml
@codecov

codecov Bot commented Oct 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.81%. Comparing base (d008702) to head (292dd81).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7743      +/-   ##
==========================================
- Coverage   70.81%   70.81%   -0.01%     
==========================================
  Files        1421     1421              
  Lines      280000   279998       -2     
  Branches    27620    27620              
==========================================
- Hits       198290   198276      -14     
- Misses      73549    73563      +14     
+ Partials     8161     8159       -2     
Flag Coverage Δ
Debug 70.81% <100.00%> (-0.01%) ⬇️
production 64.25% <ø> (-0.01%) ⬇️
test 90.77% <100.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
test/Microsoft.ML.CpuMath.UnitTests/UnitTests.cs 95.69% <100.00%> (-0.02%) ⬇️

... and 6 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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

Labels

community-contribution Pull requests submitted by community contributors

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add .NET 10 to the CI test matrix

2 participants