Skip to content

Commit

Permalink
CI: Fix composer install dependencies in components
Browse files Browse the repository at this point in the history
  • Loading branch information
il-masaru-yamagishi committed Aug 17, 2024
1 parent d16365d commit bbd4754
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,11 @@ jobs:
run: |-
for dir in $(find src -type d); do
if [ -f "$dir/composer.json" ]; then
composer install --working-dir=$dir --no-progress --ansi --prefer-dist
if [[ "${{ matrix.deps }}" == "lowest" ]]; then
composer update --working-dir=$dir --prefer-lowest --no-progress --ansi --prefer-dist || true
else
composer update --working-dir=$dir --prefer-stable --no-progress --ansi --prefer-dist || true
fi
fi
done
Expand Down

0 comments on commit bbd4754

Please sign in to comment.