Skip to content

Commit 56e6d2a

Browse files
committed
Update build configuration and package references for improved testing support
1 parent 632c667 commit 56e6d2a

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ jobs:
55
build:
66
uses: FoundatioFx/Foundatio/.github/workflows/build-workflow.yml@main
77
secrets: inherit
8+
with:
9+
new-test-runner: true

build/common.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
</PropertyGroup>
3737

3838
<ItemGroup>
39-
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
39+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="10.0.102" PrivateAssets="All" />
4040
<PackageReference Include="AsyncFixer" Version="2.1.0" PrivateAssets="All" />
4141
<PackageReference Include="MinVer" Version="7.0.0" PrivateAssets="All" />
4242
</ItemGroup>

global.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,8 @@
33
"version": "10.0.100",
44
"rollForward": "latestMajor",
55
"allowPrerelease": false
6+
},
7+
"test": {
8+
"runner": "Microsoft.Testing.Platform"
69
}
710
}

tests/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</PropertyGroup>
99
<ItemGroup>
1010
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
11-
<PackageReference Include="xunit.v3.mtp-off" Version="3.2.1" />
11+
<PackageReference Include="xunit.v3.mtp-v2" Version="3.2.2" />
1212
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5" />
1313
<PackageReference Include="GitHubActionsTestLogger" Version="3.0.1" PrivateAssets="All" />
1414

0 commit comments

Comments
 (0)