diff options
author | Nicolas Grekas <nicolas.grekas@gmail.com> | 2020-05-25 13:33:50 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-05-28 14:08:27 +0200 |
commit | d579e1809a8a9def6630bb2c880baf1861b1414b (patch) | |
tree | 725d7adb96b7e8cebdcae15c673b5532960e7b27 /azure/community_job.yml | |
parent | ef9a790f12fb0b799d744dacd2d257cdcc0f98e2 (diff) | |
download | php-git-d579e1809a8a9def6630bb2c880baf1861b1414b.tar.gz |
Run Symfony tests in per-component
Diffstat (limited to 'azure/community_job.yml')
-rw-r--r-- | azure/community_job.yml | 13 |
1 files 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: | |