File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 pull_request :
55 branches : [ "main" ]
66
7+ permissions :
8+ contents : read
9+ checks : write
10+ pull-requests : write
11+
712jobs :
813 build-and-test :
914 runs-on : ${{ matrix.os }}
2227 - name : Build
2328 run : dotnet build --no-restore --configuration Release
2429 - name : Test
25- run : dotnet test --no-build --verbosity normal --configuration Release
30+ run : dotnet test --no-build --verbosity normal --configuration Release --logger trx
31+ - name : Publish Test Results
32+ uses : EnricoMi/publish-unit-test-result-action@v2
33+ if : always()
34+ with :
35+ files : ' **/TestResults/*.trx'
36+ check_name : ' Test Results'
37+ large_files : true
Original file line number Diff line number Diff line change 44 push :
55 branches : [ "main" ]
66
7+ permissions :
8+ contents : write
9+ checks : write
10+ pull-requests : write
11+
712jobs :
813 check-version-tag :
914 runs-on : ubuntu-latest
6873 run : dotnet build --no-restore --configuration Release
6974
7075 - name : Test
71- run : dotnet test --no-build --verbosity normal --configuration Release
76+ run : dotnet test --no-build --verbosity normal --configuration Release --logger trx
77+
78+ - name : Publish Test Results
79+ uses : EnricoMi/publish-unit-test-result-action@v2
80+ if : always()
81+ with :
82+ files : ' **/TestResults/*.trx'
83+ check_name : ' Test Results'
84+ large_files : true
7285
7386 publish-release :
7487 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments