File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -101,13 +101,8 @@ jobs:
101101
102102 - name : Run PHPStan on platform bridges
103103 run : |
104- # Platform bridges run SEQUENTIALLY because they depend on symfony/ai-platform
105- # which is in the same directory tree. Running in parallel causes recursive vendor copies
106- # when bridge A's vendor/symfony/ai-platform includes bridge B's vendor (if B finished first).
107104 source .github/workflows/.utils.sh
108105
109106 BRIDGES=$(find src/platform/src/Bridge/ -mindepth 1 -maxdepth 1 -type d -printf '%f\n' | sort | tr '\n' ' ')
110107 echo "Bridges: $BRIDGES"
111- for BRIDGE in $BRIDGES; do
112- _run_task "$BRIDGE" "(cd src/platform/src/Bridge/$BRIDGE && $COMPOSER_UP && $PHPSTAN && rm -rf vendor)"
113- done
108+ echo "$BRIDGES" | xargs -n1 | parallel -j +3 "_run_task {} '(cd src/platform/src/Bridge/{} && $COMPOSER_UP && $PHPSTAN)'"
You can’t perform that action at this time.
0 commit comments