diff --git a/azure-pipelines/build.yml b/azure-pipelines/build.yml index 312ac50d..98b4ef98 100644 --- a/azure-pipelines/build.yml +++ b/azure-pipelines/build.yml @@ -72,14 +72,16 @@ steps: inputs: command: test projects: test/Microsoft.SqlTools.ServiceLayer.UnitTests - arguments: '--logger "trx;LogFileName=xunit.trx"' + testRunTitle: SqlTools.ServiceLayer.UnitTests + arguments: '--configuration $(buildConfiguration) --collect "Code coverage"' - task: DotNetCoreCLI@2 displayName: 'dotnet test test/Microsoft.Kusto.ServiceLayer.UnitTests' inputs: command: test projects: test/Microsoft.Kusto.ServiceLayer.UnitTests - arguments: '--logger "trx;LogFileName=xunit.trx"' + testRunTitle: Kusto.ServiceLayer.UnitTests + arguments: '--configuration $(buildConfiguration) --collect "Code coverage"' - task: Npm@1 displayName: 'npm install -g gulp-cli' @@ -210,10 +212,4 @@ steps: command: push packagesToPush: '$(Build.SourcesDirectory)/artifacts/nugetPackages/**/*.nupkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg' publishVstsFeed: '2191dd5f-4aec-491b-ac50-568bbc331c8a' - allowPackageConflicts: true - -- task: PublishTestResults@2 - displayName: 'Publish Test Results **/xunit.trx' - inputs: - testResultsFormat: VSTest - testResultsFiles: '**/xunit.trx' \ No newline at end of file + allowPackageConflicts: true \ No newline at end of file