Skip to content

Commit

Permalink
Update pipeline.yml #4
Browse files Browse the repository at this point in the history
  • Loading branch information
joost-van-dam authored Mar 23, 2024
1 parent 443189d commit 2f1dab4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"

0 comments on commit 2f1dab4

Please sign in to comment.