diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index f2f9794..8cf9969 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -45,8 +45,7 @@ jobs: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} shell: powershell run: | - .\.sonar\scanner\dotnet-sonarscanner begin /k:"joost_joost" /o:"joost" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.dotcover.reportsPaths=**/dotCover.Output.html - dotnet build - dotnet tool install --global JetBrains.dotCover.GlobalTool - dotnet dotcover test AvansDevOps --dcReportType=HTML + .\.sonar\scanner\dotnet-sonarscanner begin /k:"joost_joost" /o:"joost" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.vscoveragexml.reportsPaths=coverage.xml + dotnet build --no-incremental + dotnet-coverage collect 'dotnet test' -f xml -o 'coverage.xml' .\.sonar\scanner\dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"