diff options
author | Steve Dower <steve.dower@microsoft.com> | 2018-09-19 23:25:25 (GMT) |
---|---|---|
committer | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-09-19 23:25:25 (GMT) |
commit | fd54a45f7987d5b3343c74cb49a12bd39bdad5bc (patch) | |
tree | 706aac7576fbebc5db22d7b735595fcab541e774 /.vsts/windows-buildbot.yml | |
parent | 06e7608207daab9fb82d13ccf2d3664535442f11 (diff) | |
download | cpython-fd54a45f7987d5b3343c74cb49a12bd39bdad5bc.zip cpython-fd54a45f7987d5b3343c74cb49a12bd39bdad5bc.tar.gz cpython-fd54a45f7987d5b3343c74cb49a12bd39bdad5bc.tar.bz2 |
Enables test result collection for CI builds (GH-9433)
Diffstat (limited to '.vsts/windows-buildbot.yml')
-rw-r--r-- | .vsts/windows-buildbot.yml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/.vsts/windows-buildbot.yml b/.vsts/windows-buildbot.yml index 5ec4522..15aebed 100644 --- a/.vsts/windows-buildbot.yml +++ b/.vsts/windows-buildbot.yml @@ -43,7 +43,16 @@ steps: - script: python.bat -m test.pythoninfo displayName: 'Display build info' -- script: PCbuild\rt.bat -q -uall -u-cpu -rwW --slowest --timeout=1200 -j0 +- script: PCbuild\rt.bat -q -uall -u-cpu -rwW --slowest --timeout=1200 -j0 --junit-xml="$(Build.BinariesDirectory)\test-results.xml" displayName: 'Tests' env: PREFIX: $(Py_OutDir)\$(outDirSuffix) + +- task: PublishTestResults@2 + displayName: 'Publish Test Results' + inputs: + testResultsFiles: '$(Build.BinariesDirectory)\test-results.xml' + mergeTestResults: true + testRunTitle: '$(Build.SourceBranchName)-$(outDirSuffix)' + platform: $(outDirSuffix) + condition: succeededOrFailed() |