Skip to content

Commit c84a4ec

Browse files
committed
Get a list of packages
1 parent c96d84a commit c84a4ec

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/code-quality.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ jobs:
5555
echo COMPOSER_VALIDATE='composer validate --strict' >> $GITHUB_ENV
5656
echo PHPSTAN='vendor/bin/phpstan' >> $GITHUB_ENV
5757
58+
PACKAGES=$(find src/ -mindepth 2 -type f -name composer.json -not -path "*/vendor/*" -printf '%h\n' | sed 's/^src\///' | grep -Ev "examples" | sort | tr '\n' ' ')
5859
echo "Packages: $PACKAGES"
5960
echo "PACKAGES=$PACKAGES" >> $GITHUB_ENV
6061

.github/workflows/unit-tests.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ jobs:
4848
echo PHPUNIT='vendor/bin/phpunit' >> $GITHUB_ENV
4949
[ 'lowest' = '${{ matrix.dependency-version }}' ] && export SYMFONY_DEPRECATIONS_HELPER=weak
5050
51+
PACKAGES=$(find src/ -mindepth 2 -type f -name composer.json -not -path "*/vendor/*" -printf '%h\n' | sed 's/^src\///' | grep -Ev "examples" | sort | tr '\n' ' ')
5152
echo "Packages: $PACKAGES"
5253
echo "PACKAGES=$PACKAGES" >> $GITHUB_ENV
5354

0 commit comments

Comments
 (0)