File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,13 +49,16 @@ jobs:
4949 - name : Build solution
5050 run : dotnet build -c ${{ env.DOTNET_BUILD_CONFIGURATION }} /warnaserror
5151
52+ - name : Test solution
53+ run : dotnet test --no-build -c ${{ env.DOTNET_BUILD_CONFIGURATION }} --verbosity normal
54+
5255 - name : Cleanup solution
5356 run : dotnet clean
5457
5558 - name : Analyze solution
5659 shell : powershell
5760 run : |
58- .\.sonar\scanner\dotnet-sonarscanner begin /k:"${{ env.SONAR_PROJECT }}" /o:"${{ env.SONAR_ORGANIZATION }}" /d:sonar.login ="${{ env.SONAR_TOKEN }}" /d:sonar.host.url="${{ env.SONAR_HOST }}"
61+ .\.sonar\scanner\dotnet-sonarscanner begin /k:"${{ env.SONAR_PROJECT }}" /o:"${{ env.SONAR_ORGANIZATION }}" /d:sonar.token ="${{ env.SONAR_TOKEN }}" /d:sonar.host.url="${{ env.SONAR_HOST }}"
5962 dotnet build -c ${{ env.DOTNET_BUILD_CONFIGURATION }}
60- dotnet test --no-build -c ${{ env.DOTNET_BUILD_CONFIGURATION }} --verbosity normal
63+ dotnet test --no-build -c ${{ env.DOTNET_BUILD_CONFIGURATION }} --logger trx -- verbosity normal
6164 .\.sonar\scanner\dotnet-sonarscanner end /d:sonar.login="${{ env.SONAR_TOKEN }}"
You can’t perform that action at this time.
0 commit comments