Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Improve the CI setup
Fix the way Symfony versions are locked for LTS jobs to avoid changing
conflict rules
Run a job with dev deps instead of with Symfony 7.2 with dev min
stability, to reduce the maintenance work.
  • Loading branch information
stof committed Jun 13, 2025
commit 36ee7ab143a0164c8fce63ccd8a07fbd7d1e889d
10 changes: 5 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,9 @@ jobs:
php: '8.1'
symfony: 6.4.*
max_deprecations: 0
- description: 'Symfony 7'
- description: 'Dev deps'
php: '8.4'
dev: true
symfony: 7.2.*
max_deprecations: 0
name: PHP ${{ matrix.php }} tests (${{ matrix.description }})
steps:
Expand All @@ -78,10 +77,11 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- run: |
sed -ri 's/"symfony\/(.+)": "(.+)"/"symfony\/\1": "'${{ matrix.symfony }}'"/' composer.json;
- run: composer config --global --no-plugins allow-plugins.symfony/flex true && composer global require symfony/flex
if: matrix.symfony
- run: composer config minimum-stability dev && composer config prefer-stable true
- run: echo 'SYMFONY_REQUIRE=${{ matrix.symfony }}' >> "$GITHUB_ENV"
if: matrix.symfony
- run: composer config minimum-stability dev
if: matrix.dev
- run: composer update --no-interaction --no-progress --ansi ${{ matrix.composer_option }}
- run: vendor/bin/phpunit
Expand Down