chore(sonar-cloud.yml): update dotnet build and dotnet test commands to include --nologo flag

This commit is contained in:
Jean Gatto
2023-08-12 16:33:55 -03:00
parent a5f5ea303e
commit 80b6ac776c
+2 -2
View File
@@ -58,6 +58,6 @@ jobs:
run: |
.\.sonar\scanner\dotnet-sonarscanner begin /k:"ASP.NET-Core-API-CQRS-EVENT-DDD-SOLID" /o:"jeangatto" /d:sonar.login="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io"
dotnet restore
dotnet build --no-restore
dotnet test --no-build --no-restore --verbosity Minimal -p:CollectCoverage=true -p:CoverletOutputFormat=opencover -p:CoverletOutput=TestResults/
dotnet build --nologo --no-restore
dotnet test --nologo --no-build --no-restore --verbosity Minimal -p:CollectCoverage=true -p:CoverletOutputFormat=opencover -p:CoverletOutput=TestResults/
.\.sonar\scanner\dotnet-sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}"