]> granicus.if.org Git - php/commitdiff
always run/publish tests, even when failing
authorJoe Watkins <krakjoe@php.net>
Tue, 4 Jun 2019 06:06:53 +0000 (08:06 +0200)
committerJoe Watkins <krakjoe@php.net>
Tue, 4 Jun 2019 06:06:53 +0000 (08:06 +0200)
azure/test.yml

index 59dc71af62917951fbf285767a33a8c695b7768c..f7491ea3fdb277cfa7500f9f5e8539e629c985c7 100644 (file)
@@ -21,7 +21,7 @@ steps:
           --set-timeout 120 \
           ${{ parameters.runTestsParameters }}
     displayName: 'Test ${{ parameters.configurationName }} ${{ parameters.runTestsName }}'
-    condition: always()
+    condition: and(failed())
   - task: PublishTestResults@2
     inputs:
       testResultsFormat: 'JUnit'
@@ -29,4 +29,4 @@ steps:
       testRunTitle: '${{ parameters.configurationName }} ${{ parameters.runTestsName }}'
       failTaskOnFailedTests: true
     displayName: 'Export ${{ parameters.configurationName }} ${{ parameters.runTestsName }} Results'
-    condition: always()
+    condition: and(failed())