Skip to content

Commit b46c5e6

Browse files
committed
filter out net462 in tests
1 parent ed21bd8 commit b46c5e6

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

eng/Packages.Data.props

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,14 @@
474474
<PackageDownload Include="Azure.Sdk.Tools.Testproxy" Version="[$(TestProxyVersion)]" />
475475
</ItemGroup>
476476

477-
<ItemGroup Condition="('$(TargetFramework)' == 'net9.0' AND ('$(IsTestProject)' == 'true') OR ('$(IsTestSupportProject)' == 'true') OR ('$(IsPerfProject)' == 'true') OR ('$(IsStressProject)' == 'true') OR ('$(IsSamplesProject)' == 'true'))">
477+
<ItemGroup Condition="'$(TargetFramework)' == 'net9.0'
478+
and (
479+
'$(IsTestProject)' == 'true'
480+
or '$(IsTestSupportProject)' == 'true'
481+
or '$(IsPerfProject)' == 'true'
482+
or '$(IsStressProject)' == 'true'
483+
or '$(IsSamplesProject)' == 'true'
484+
)">
478485
<PackageReference Update="Microsoft.AspNetCore.TestHost" Version="9.*" />
479486
<PackageReference Update="Microsoft.AspNetCore.Mvc.Testing" Version="9.*" />
480487
</ItemGroup>

sdk/agentserver/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ extends:
2626
parameters:
2727
SDKType: client
2828
ServiceDirectory: agentserver
29+
MatrixFilters:
30+
- TestTargetFramework=^net(?:8\.0|9\.0)$
2931
ArtifactName: packages
3032
Artifacts:
3133
- name: Azure.AI.AgentServer.Core

0 commit comments

Comments
 (0)