Fixing SonarCloud integration + fixing CodeSmells

This commit is contained in:
2024-05-04 18:47:58 +02:00
parent 708966fcf8
commit 79b66cb8b4
7 changed files with 68 additions and 63 deletions

View File

@@ -44,5 +44,6 @@ jobs:
shell: powershell
run: |
.\.sonar\scanner\dotnet-sonarscanner begin /k:"csimonapastore_BasicDotnetTemplate" /o:"csimonapastore-github" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io"
dotnet build
dotnet build --no-incremental
dotnet test --collect "Code Coverage"
.\.sonar\scanner\dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"