Skip to content

Commit

Permalink
Use PHP 8.3 and flex as tool
Browse files Browse the repository at this point in the history
  • Loading branch information
franmomu committed Jan 22, 2024
1 parent 124e5e7 commit 6fedae6
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
- '8.0'
- '8.1'
- '8.2'
- '8.3'
dependencies: [highest]
allowed-to-fail: [false]
symfony-require: ['']
Expand All @@ -48,17 +49,17 @@ jobs:
dependencies: lowest
allowed-to-fail: false
variant: normal
- php-version: '8.2'
- php-version: '8.3'
dependencies: highest
allowed-to-fail: false
symfony-require: 5.4.*
variant: symfony/symfony:"5.4.*"
- php-version: '8.2'
- php-version: '8.3'
dependencies: highest
allowed-to-fail: false
symfony-require: 6.3.*
variant: symfony/symfony:"6.3.*"
- php-version: '8.2'
- php-version: '8.3'
dependencies: highest
allowed-to-fail: false
symfony-require: 6.4.*
Expand All @@ -78,18 +79,12 @@ jobs:
with:
php-version: ${{ matrix.php-version }}
coverage: pcov
tools: composer:v2
tools: composer:v2, flex
extensions: mongodb

- name: Add PHPUnit matcher
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"

- name: Globally install symfony/flex
if: matrix.symfony-require != ''
run: |
composer global config --no-plugins allow-plugins.symfony/flex true
composer global require --no-progress --no-scripts --no-plugins symfony/flex
- name: Install variant
if: matrix.variant != 'normal' && !startsWith(matrix.variant, 'symfony/symfony')
run: composer require ${{ matrix.variant }} --no-update
Expand Down

0 comments on commit 6fedae6

Please sign in to comment.