File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change 2121
2222jobs :
2323 build :
24+ permissions :
25+ checks : write
26+ pull-requests : write
2427 runs-on : windows-latest
2528
2629 steps :
4649 run : dotnet build ${{ env.SLN }} --no-restore --configuration ${{ env.CONFIGURATION }} -p:GITHUB_ACTIONS=true
4750
4851 - name : ${{ env.SLN }} ${{ env.CONFIGURATION }} Test
49- run : dotnet test ${{ env.SLN }} --no-restore --no-build --configuration ${{ env.CONFIGURATION }}
52+ run : dotnet test ${{ env.SLN }} --no-restore --no-build --configuration ${{ env.CONFIGURATION }} --logger trx --results-directory '$(Agent.TempDirectory)/TestResults'
53+
54+ - name : Publish Test Results
55+ uses : EnricoMi/publish-unit-test-result-action/composite@v2
56+ if : always()
57+ with :
58+ files : |
59+ ${{ '$(Agent.TempDirectory)/TestResults/*.trx' }}
60+ comment_mode : off
61+
5062
5163 - name : Publish Artifacts
5264 uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments