diff --git a/pipeline.yml b/pipeline.yml index 6d0cc9f..3df7a34 100644 --- a/pipeline.yml +++ b/pipeline.yml @@ -37,7 +37,7 @@ ci_test: tests: - scripts: - - "dotnet test --no-build --configuration Release src/GregClient.sln --logger:junit --logger:trx" + - dotnet coverage collect "dotnet test --no-build --configuration Release src/GregClient.sln --logger:junit --logger:trx" -f xml -o "coverage.xml" test_report_dir: src\\GregClientTests\\TestResults test_report_pattern: @@ -46,7 +46,7 @@ ci_test: code_analysis: sonarqube: - useDotnetSonarScanner: false + useDotnetSonarScanner: true scanOnAnyBranch: true coverage_reports: - coverage.xml