This repository was archived by the owner on Aug 30, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
tests/PowerUtils.AspNetCore.ErrorHandler.Tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 SDK_VERSION_7 : ' 7.0.100'
1515 SDK_VERSION_6 : ' 6.0.403'
1616 SDK_VERSION_5 : ' 5.0.408'
17+ TEST_RESULTS_DIRECTORY : ' ./TestResults'
1718
1819
1920jobs :
4041 - name : " Build"
4142 run : dotnet build --configuration Release --no-restore
4243
43- - name : " Test"
44- run : dotnet test --configuration Release --no-build --verbosity normal --logger "console;verbosity=detailed"
44+ - name : " Run tests"
45+ run : dotnet test --configuration Release --no-build --verbosity normal --results-directory ${{ env.TEST_RESULTS_DIRECTORY }} --logger "junit;LogFileName=test-result-$(uuidgen).xml" --logger "console;verbosity=detailed"
46+
47+ - name : " Publish test results"
48+ uses : test-summary/action@v2
49+ if : always()
50+ with :
51+ paths : " ${{ env.TEST_RESULTS_DIRECTORY }}/**/*.xml"
Original file line number Diff line number Diff line change 3838 <PrivateAssets >all</PrivateAssets >
3939 <IncludeAssets >runtime; build; native; contentfiles; analyzers</IncludeAssets >
4040 </PackageReference >
41+ <PackageReference Include =" JunitXml.TestLogger" Version =" 3.0.114" />
4142 </ItemGroup >
4243
4344
You can’t perform that action at this time.
0 commit comments