Skip to content

Commit

Permalink
fix: coverage still busted
Browse files Browse the repository at this point in the history
  • Loading branch information
bmazzarol committed Oct 1, 2023
1 parent f2c76ca commit 700dbda
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/sonar-cloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,9 @@ jobs:
/o:"bmazzarol" `
/d:sonar.token="${{ secrets.SONAR_TOKEN }}" `
/d:sonar.host.url="https://sonarcloud.io" `
/d:sonar.cs.vstest.reportsPaths=/**/TestResults/*.trx `
/d:sonar.cs.dotcover.reportsPaths=dotCover.Output.html `
/d:sonar.dotnet.excludeTestProjects=true `
/d:sonar.coverage.exclusions="**Test*.cs,**/Migrations/**/*.*,**autogenerated.cs,**.g.cs"
dotnet build –no-incremental
dotnet dotcover test `
--dcReportType=HTML `
--verbosity normal `
--logger "trx" `
-r "TestResults"
dotnet dotcover test --dcReportType=HTML
./.sonar/scanner/dotnet-sonarscanner end `
/d:sonar.token="${{ secrets.SONAR_TOKEN }}"

0 comments on commit 700dbda

Please sign in to comment.