File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414jobs :
1515 test :
1616 runs-on : ubuntu-latest
17+ if : github.event_name == 'pull_request'
1718
1819 steps :
1920 - name : " Checkout Github Action"
3031 - name : Test
3132 run : scripts/test
3233
34+ - name : Test Report
35+ uses : dorny/test-reporter@v1
36+ if : always()
37+ with :
38+ name : .NET Tests
39+ path : src/CookTimeTests/TestResults/*.trx
40+ reporter : dotnet-trx
41+
3342 deploy :
3443 runs-on : ubuntu-latest
35- needs : test
3644 if : github.event_name == 'push' && github.ref == 'refs/heads/main'
3745
3846 steps :
Original file line number Diff line number Diff line change @@ -24,4 +24,5 @@ echo "API is healthy!"
2424echo " "
2525echo " Running tests..."
2626cd " $( dirname " $0 " ) /../src/CookTimeTests"
27- dotnet test --verbosity normal
27+ dotnet build -v minimal
28+ dotnet test --verbosity normal --no-build --logger " trx;LogFileName=test-results.trx" -- RunConfiguration.DisableParallelization=true
You can’t perform that action at this time.
0 commit comments