зеркало из https://github.com/microsoft/genalog.git
Separate test report in a template
This commit is contained in:
Родитель
190d823afc
Коммит
b534f479ed
|
@ -1,18 +1,6 @@
|
|||
parameters:
|
||||
- name: pyVersion
|
||||
type: string
|
||||
# Template for publishing code coverage report
|
||||
|
||||
steps:
|
||||
- task: PublishTestResults@2
|
||||
inputs:
|
||||
testResultsFormat: 'JUnit'
|
||||
testResultsFiles: 'junit/*.xml'
|
||||
searchFolder: $(Build.SourcesDirectory)
|
||||
testRunTitle: $(Agent.OS) py$(pyVersion) Build
|
||||
buildPlatform: $(Agent.OS)
|
||||
condition: always() # Always publish test results
|
||||
displayName: 'Publish unit test report'
|
||||
|
||||
- task: PublishCodeCoverageResults@1
|
||||
inputs:
|
||||
codeCoverageTool: Cobertura
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
# Template for publishing test result report
|
||||
|
||||
parameters:
|
||||
- name: pyVersion
|
||||
type: string
|
||||
|
||||
steps:
|
||||
- task: PublishTestResults@2
|
||||
inputs:
|
||||
testResultsFormat: 'JUnit'
|
||||
testResultsFiles: 'junit/*.xml'
|
||||
searchFolder: $(Build.SourcesDirectory)
|
||||
testRunTitle: $(Agent.OS) py$(pyVersion) Build
|
||||
buildPlatform: $(Agent.OS)
|
||||
condition: always() # Always publish test results
|
||||
displayName: 'Publish unit test report'
|
Загрузка…
Ссылка в новой задаче