Skip to content

Commit 7f65555

Browse files
committed
filter out performance test result files to avoid warnings
1 parent e6ff728 commit 7f65555

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

build/ci/job-template.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,12 @@ jobs:
154154
inputs:
155155
testRunner: 'xUnit'
156156
searchFolder: '$(Build.SourcesDirectory)/artifacts/TestResults'
157-
testResultsFiles: '**/*.xml'
157+
# Upload all test results except performance test project. On CI by default performance tests
158+
# will not run and test result files will still be generate without details. Avoid uploading
159+
# performance test result to avoid warnings on publish test result stage.
160+
testResultsFiles: |
161+
**/*.xml
162+
!**/*PerformanceTests*.xml
158163
testRunTitle: Machinelearning_Tests_${{ parameters.name }}_$(_configuration)_$(Build.BuildNumber)
159164
configuration: $(_configuration)
160165
mergeTestResults: true

0 commit comments

Comments
 (0)