summaryrefslogtreecommitdiff
path: root/azure-pipelines.yml
diff options
context:
space:
mode:
authorTyler Reddy <tyler.je.reddy@gmail.com>2019-05-02 11:34:11 -0700
committerTyler Reddy <tyler.je.reddy@gmail.com>2019-05-03 06:23:29 -0700
commit6d4b13a51140390621fe8ba34e45107063cc3ad3 (patch)
tree135ed25a883c14cde15d3ee63f932ddaf1d042da /azure-pipelines.yml
parentf64ec0ca21466d3d461b88e232451c750982e9e6 (diff)
downloadnumpy-6d4b13a51140390621fe8ba34e45107063cc3ad3.tar.gz
TST: refine Azure fail reports
* Azure CI should no longer report success when there are failures outside of the test suite * Azure CI will still always try to publish test results, except when a pipeline is manually cancelled
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r--azure-pipelines.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 94c4158e2..6162e80ee 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -28,8 +28,8 @@ jobs:
F77=gfortran-5 F90=gfortran-5 \
CFLAGS='-UNDEBUG -std=c99' python3 runtests.py --mode=full -- -rsx --junitxml=junit/test-results.xml"
displayName: 'Run 32-bit Ubuntu Docker Build / Tests'
- continueOnError: true
- task: PublishTestResults@2
+ condition: succeededOrFailed()
inputs:
testResultsFiles: '**/test-*.xml'
failTaskOnFailedTests: true
@@ -101,8 +101,8 @@ jobs:
displayName: 'Run Refuide Check'
- script: python runtests.py --mode=full -- -rsx --junitxml=junit/test-results.xml
displayName: 'Run Full NumPy Test Suite'
- continueOnError: true
- task: PublishTestResults@2
+ condition: succeededOrFailed()
inputs:
testResultsFiles: '**/test-*.xml'
failTaskOnFailedTests: true
@@ -204,8 +204,8 @@ jobs:
displayName: 'For gh-12667; Windows DLL resolution'
- script: python runtests.py -n --show-build-log --mode=$(TEST_MODE) -- -rsx --junitxml=junit/test-results.xml
displayName: 'Run NumPy Test Suite'
- continueOnError: true
- task: PublishTestResults@2
+ condition: succeededOrFailed()
inputs:
testResultsFiles: '**/test-*.xml'
failTaskOnFailedTests: true
@@ -217,8 +217,8 @@ jobs:
steps:
- script: source tools/pypy-test.sh
displayName: 'Run PyPy3 Build / Tests'
- continueOnError: true
- task: PublishTestResults@2
+ condition: succeededOrFailed()
inputs:
testResultsFiles: '**/test-*.xml'
testRunTitle: 'Publish test results for PyPy3'