Skip to content

Commit

Permalink
up ci
Browse files Browse the repository at this point in the history
  • Loading branch information
gilles-g committed Jan 18, 2024
1 parent 4a5cb03 commit b92fcea
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,22 +66,20 @@ jobs:
if: matrix.symfony == '6.3.*@dev'
run: composer config minimum-stability dev

- name: Install Symfony ${{ matrix.symfony }}
if: matrix.symfony != '6.3.*'
run: composer require symfony/symfony:${{ matrix.symfony }} --no-update

- name: Fix PSR container compatibility
if: |
matrix.symfony == '5.4.*'
&& endsWith(matrix.composer_flag, 'prefer-lowest')
run: composer require psr/container:^1.1

- name: Silence Symfony deprecation helper for lower deps
if: endsWith(matrix.composer_flag, 'prefer-lowest')
if: endsWith(matrix.composer-flags, 'prefer-lowest')
run: echo "SYMFONY_DEPRECATIONS_HELPER=weak" >> $GITHUB_ENV

- name: Install dependencies
run: composer update --no-interaction ${{ matrix.composer_flag }} --prefer-dist --no-progress
run: composer update ${{ matrix.composer-flags }} --prefer-dist
env:
SYMFONY_REQUIRE: "${{ matrix.symfony }}"

- name: Run PHPUnit Tests
run: composer test

0 comments on commit b92fcea

Please sign in to comment.