Skip to content

Commit 47a9539

Browse files
committed
run/publish test on success and failure
1 parent b2aef9e commit 47a9539

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

azure/test.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,14 @@ steps:
2121
--set-timeout 120 \
2222
${{ parameters.runTestsParameters }}
2323
displayName: 'Test ${{ parameters.configurationName }} ${{ parameters.runTestsName }}'
24-
condition: and(failed())
24+
condition: succeeded()
25+
condition: failed()
2526
- task: PublishTestResults@2
2627
inputs:
2728
testResultsFormat: 'JUnit'
2829
testResultsFiles: junit.xml
2930
testRunTitle: '${{ parameters.configurationName }} ${{ parameters.runTestsName }}'
3031
failTaskOnFailedTests: true
3132
displayName: 'Export ${{ parameters.configurationName }} ${{ parameters.runTestsName }} Results'
32-
condition: and(failed())
33+
condition: succeeded()
34+
condition: failed()

0 commit comments

Comments
 (0)