Skip to content

Commit 3e6d7cf

Browse files
committed
[CI] Add PHPStan step for platform bridges
Run PHPStan analysis on platform bridges in the code quality workflow, similar to how store and tool bridges are analyzed.
1 parent 72d5201 commit 3e6d7cf

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/code-quality.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,11 @@ jobs:
8989
BRIDGES=$(find src/agent/src/Bridge/ -mindepth 1 -maxdepth 1 -type d -printf '%f\n' | sort | tr '\n' ' ')
9090
echo "Bridges: $BRIDGES"
9191
echo "$BRIDGES" | xargs -n1 | parallel -j +3 "_run_task {} '(cd src/agent/src/Bridge/{} && $COMPOSER_UP && $PHPSTAN)'"
92+
93+
- name: Run PHPStan on platform bridges
94+
run: |
95+
source .github/workflows/.utils.sh
96+
97+
BRIDGES=$(find src/platform/src/Bridge/ -mindepth 1 -maxdepth 1 -type d -printf '%f\n' | sort | tr '\n' ' ')
98+
echo "Bridges: $BRIDGES"
99+
echo "$BRIDGES" | xargs -n1 | parallel -j +3 "_run_task {} '(cd src/platform/src/Bridge/{} && $COMPOSER_UP && $PHPSTAN)'"

0 commit comments

Comments
 (0)