diff options
author | Lluis Sanchez <llsan@microsoft.com> | 2020-10-05 14:29:33 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-05 14:29:33 +0300 |
commit | ea8af8e5d18a68dccc12b03147b917f8de50b0b7 (patch) | |
tree | bfe12b1300e91bbb5930968c87b4b3584ef4a4c1 | |
parent | 3f41519d63aecbc16922c23108dd40cecb5a8300 (diff) | |
parent | 438810eacb1e7bcde571f84dfbdfdddac68b121c (diff) |
Merge pull request #168 from mono/azure-pipelines-fix
Fix publishing of test results
-rw-r--r-- | azure-pipelines.yml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 35e6613..b3c68a7 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -38,10 +38,11 @@ steps: msbuildArguments: '/t:Test' - task: PublishTestResults@2 - displayName: 'Publish Test Results Test\UnitTests\bin\Debug\*.xml' + displayName: 'Publish Test Results Test\UnitTests\TestResult.xml' inputs: - testResultsFormat: NUnit - testResultsFiles: 'Test/UnitTests/bin/Debug/*.xml' + testResultsFormat: 'NUnit' + testResultsFiles: 'Test/UnitTests/TestResult.xml' + failTaskOnFailedTests: true - task: CopyFiles@1 displayName: 'Copy Files to: $(build.artifactstagingdirectory)' |