From d579e1809a8a9def6630bb2c880baf1861b1414b Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Mon, 25 May 2020 13:33:50 +0200 Subject: [PATCH] Run Symfony tests in per-component --- azure/community_job.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/azure/community_job.yml b/azure/community_job.yml index 19d43ef651..0d9f9bf92b 100644 --- a/azure/community_job.yml +++ b/azure/community_job.yml @@ -71,10 +71,15 @@ jobs: export USE_ZEND_ALLOC=0 export USE_TRACKED_ALLOC=1 export ASAN_OPTIONS=exitcode=139 - php ./phpunit --exclude-group tty,benchmark,intl-data,transient - if [ $? -gt 128 ]; then - exit 1 - fi + export SYMFONY_DEPRECATIONS_HELPER=max[total]=999 + X=0 + for component in $(find src/Symfony -mindepth 2 -type f -name phpunit.xml.dist -printf '%h\n'); do + php ./phpunit $component --exclude-group tty,benchmark,intl-data,transient; + if [ $? -gt 128 ]; then + X=1; + fi + done + exit $X displayName: 'Test Symfony' condition: or(succeeded(), failed()) - script: | -- 2.50.1