Skip to content

Commit 77a6ade

Browse files
Run Symfony tests in per-component
1 parent 0d137d6 commit 77a6ade

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

azure/community_job.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,14 @@ 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+
X=0
75+
for component in $(find src/Symfony -mindepth 2 -type f -name phpunit.xml.dist -printf '%h\n'); do
76+
php ./phpunit $component --exclude-group tty,benchmark,intl-data,transient;
77+
if [ $? -gt 128 ]; then
78+
X=1;
79+
fi
80+
done
81+
exit $X
7882
displayName: 'Test Symfony'
7983
condition: or(succeeded(), failed())
8084
- script: |

0 commit comments

Comments
 (0)