From: Nicolas Grekas Date: Mon, 25 May 2020 11:33:50 +0000 (+0200) Subject: Run Symfony tests in per-component X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d579e1809a8a9def6630bb2c880baf1861b1414b;p=php Run Symfony tests in per-component --- 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: |