Skip to content

Commit d579e18

Browse files
nicolas-grekasnikic
authored andcommitted
Run Symfony tests in per-component
1 parent ef9a790 commit d579e18

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

azure/community_job.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,15 @@ jobs:
7171
export USE_ZEND_ALLOC=0
7272
export USE_TRACKED_ALLOC=1
7373
export ASAN_OPTIONS=exitcode=139
74-
php ./phpunit --exclude-group tty,benchmark,intl-data,transient
75-
if [ $? -gt 128 ]; then
76-
exit 1
77-
fi
74+
export SYMFONY_DEPRECATIONS_HELPER=max[total]=999
75+
X=0
76+
for component in $(find src/Symfony -mindepth 2 -type f -name phpunit.xml.dist -printf '%h\n'); do
77+
php ./phpunit $component --exclude-group tty,benchmark,intl-data,transient;
78+
if [ $? -gt 128 ]; then
79+
X=1;
80+
fi
81+
done
82+
exit $X
7883
displayName: 'Test Symfony'
7984
condition: or(succeeded(), failed())
8085
- script: |

0 commit comments

Comments
 (0)