Skip to content

Commit 65b89e9

Browse files
committed
Add CI step to publish test result files
1 parent 90a87dd commit 65b89e9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

azure-pipelines/test.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,16 @@ jobs:
3636
env:
3737
DISPLAY: :99.0
3838

39+
- task: PublishTestResults@2
40+
condition: succeededOrFailed()
41+
displayName: 'Publish Test Results'
42+
inputs:
43+
testResultsFormat: 'JUnit'
44+
testResultsFiles: '*junit.xml'
45+
searchFolder: '$(Build.SourcesDirectory)/out'
46+
mergeTestResults: true
47+
publishRunAttachments: true
48+
3949
- task: PublishPipelineArtifact@1
4050
condition: failed()
4151
displayName: 'Upload integration test logs'

0 commit comments

Comments
 (0)