mirror of
https://github.com/php/php-src.git
synced 2024-11-28 20:34:29 +08:00
run/publish test on success and failure
This commit is contained in:
parent
b2aef9e47a
commit
47a953919f
@ -21,7 +21,8 @@ steps:
|
||||
--set-timeout 120 \
|
||||
${{ parameters.runTestsParameters }}
|
||||
displayName: 'Test ${{ parameters.configurationName }} ${{ parameters.runTestsName }}'
|
||||
condition: and(failed())
|
||||
condition: succeeded()
|
||||
condition: failed()
|
||||
- task: PublishTestResults@2
|
||||
inputs:
|
||||
testResultsFormat: 'JUnit'
|
||||
@ -29,4 +30,5 @@ steps:
|
||||
testRunTitle: '${{ parameters.configurationName }} ${{ parameters.runTestsName }}'
|
||||
failTaskOnFailedTests: true
|
||||
displayName: 'Export ${{ parameters.configurationName }} ${{ parameters.runTestsName }} Results'
|
||||
condition: and(failed())
|
||||
condition: succeeded()
|
||||
condition: failed()
|
||||
|
Loading…
Reference in New Issue
Block a user