File tree Expand file tree Collapse file tree 4 files changed +3
-29
lines changed
Expand file tree Collapse file tree 4 files changed +3
-29
lines changed Original file line number Diff line number Diff line change 3434 - name : Build source code
3535 run : dotnet build --configuration Release --no-restore
3636 - name : Test with dotnet
37- run : dotnet test --configuration Release --no-build --collect="Code Coverage" -- framework="net8.0"
37+ run : dotnet test --configuration Release --no-build --framework="net8.0"
3838 - name : Check source file format
3939 run : dotnet format --no-restore --verify-no-changes
4040 continue-on-error : true
4444 with :
4545 name : artifacts
4646 path : ./artifacts
47- - uses : actions/upload-artifact@v4
48- with :
49- name : coverage
50- path : ./**/TestResults/**/coverage.opencover.xml
5147
5248 testOnSupportedDotnetVersions :
5349 strategy :
Original file line number Diff line number Diff line change 22 <Import Project =" $([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />
33 <PropertyGroup >
44 <IsPackable >false</IsPackable >
5- <RunSettingsFilePath >$(MSBuildThisFileDirectory)/coverlet.runsettings</RunSettingsFilePath >
5+ <UseMicrosoftTestingPlatformRunner >true</UseMicrosoftTestingPlatformRunner >
6+ <TestingPlatformDotnetTestSupport >true</TestingPlatformDotnetTestSupport >
67 </PropertyGroup >
78
89 <ItemGroup >
Original file line number Diff line number Diff line change 11<Project >
22 <ItemGroup >
3- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.12.0" />
43 <PackageReference Include =" xunit.v3" Version =" 3.2.0" />
5- <PackageReference Include =" xunit.runner.visualstudio" Version =" 3.0.1" >
6- <PrivateAssets >all</PrivateAssets >
7- <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
8- </PackageReference >
9- <PackageReference Include =" coverlet.collector" Version =" 6.0.3" >
10- <PrivateAssets >all</PrivateAssets >
11- <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
12- </PackageReference >
134 </ItemGroup >
145</Project >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments