|
|
@ -42,6 +42,13 @@ jobs:
|
|
|
|
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
|
|
|
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
|
|
|
shell: powershell
|
|
|
|
shell: powershell
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
.\.sonar\scanner\dotnet-sonarscanner begin /k:"draialexis_cat_cafe" /o:"draialexis" /d:sonar.login="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io"
|
|
|
|
.\.sonar\scanner\dotnet-sonarscanner begin
|
|
|
|
|
|
|
|
/k:"draialexis_cat_cafe"
|
|
|
|
|
|
|
|
/o:"draialexis"
|
|
|
|
|
|
|
|
/d:sonar.login="${{ secrets.SONAR_TOKEN }}"
|
|
|
|
|
|
|
|
/d:sonar.host.url="https://sonarcloud.io"
|
|
|
|
|
|
|
|
/d:sonar.cs.vscoveragexml.reportsPaths=coverage.xml
|
|
|
|
dotnet build cat_cafe\cat_cafe.sln
|
|
|
|
dotnet build cat_cafe\cat_cafe.sln
|
|
|
|
|
|
|
|
dotnet build --no-incremental
|
|
|
|
|
|
|
|
dotnet-coverage collect "dotnet test" -f xml -o "coverage.xml"
|
|
|
|
.\.sonar\scanner\dotnet-sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}"
|
|
|
|
.\.sonar\scanner\dotnet-sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}"
|