com php-src: always run/publish tests, even when failing: azure/test.yml
| From: | Joe Watkins | Date: | Tue, 04 Jun 2019 06:06:53 +0000 |
| Subject: | com php-src: always run/publish tests, even when failing: azure/test.yml | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-106539@lists.php.net to get a copy of this message | ||
Commit: b2aef9e47ad769063b1ee3dcbcf441c50f19d0c6
Author: Joe Watkins <krakjoe@php.net> Tue, 4 Jun 2019 08:06:53 +0200
Parents: d37c335118f0f8f412da7e9086c9ff6839d1c477
Branches: PHP-7.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b2aef9e47ad769063b1ee3dcbcf441c50f19d0c6
Log:
always run/publish tests, even when failing
Changed paths:
M azure/test.yml
Diff:
diff --git a/azure/test.yml b/azure/test.yml
index 59dc71a..f7491ea 100644
--- a/azure/test.yml
+++ b/azure/test.yml
@@ -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())