Skip to content

Commit

Permalink
Test against lowest allowed dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
kubawerlos committed Nov 23, 2023
1 parent 2a47d8c commit 47f4981
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ jobs:
- symfony-require: "^7"
php-version: "8.1"
include:
- { operating-system: 'ubuntu-latest', php-version: '7.4', symfony-require: '^5', composer-flags: '--prefer-lowest' }
- { operating-system: 'windows-latest', php-version: '8.0', symfony-require: '^5' }

name: CI on ${{ matrix.operating-system }} with PHP ${{ matrix.php-version }}, with Symfony ${{ matrix.symfony-require }}
name: CI on ${{ matrix.operating-system }} with PHP ${{ matrix.php-version }}, with Symfony ${{ matrix.symfony-require }} ${{ matrix.composer-flags }}

steps:
- name: Checkout code
Expand Down Expand Up @@ -67,7 +68,7 @@ jobs:
run: composer config minimum-stability dev

- name: Install dependencies
run: composer update --optimize-autoloader --no-interaction --no-progress --prefer-dist
run: composer update --optimize-autoloader --no-interaction --no-progress --prefer-dist ${{ matrix.composer-flags }}

- name: Run tests
shell: bash
Expand Down

0 comments on commit 47f4981

Please sign in to comment.