Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jslachta committed Oct 17, 2022
1 parent bdd2dfe commit 7658755
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ jobs:
# Optional command arguments to 'dotnet build'
dotnetBuildArguments: ./src
# Optional command arguments to 'dotnet test'
dotnetTestArguments: ./src
dotnetTestArguments: ./src --logger trx --collect:"XPlat Code Coverage" -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=opencover
# Optional extra command arguments the the SonarScanner 'begin' command
sonarBeginArguments: /d:sonar.cs.opencover.reportsPaths="**/TestResults/**/coverage.opencover.xml" -d:sonar.cs.vstest.reportsPaths="**/TestResults/*.trx"
# The SonarQube server URL. For SonarCloud, skip this setting.
sonarHostname: https://sonarcloud.io
env:
Expand Down

0 comments on commit 7658755

Please sign in to comment.