Skip to content

Commit f190e60

Browse files
committed
Simplify the matrix by using composer options and test nightly
1 parent aed6134 commit f190e60

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/tests.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,13 @@ jobs:
1515
matrix:
1616
php: [7.4, 8.0, 8.1, 8.2, 8.3, 8.4]
1717
experimental: [false]
18+
composer-options: ['']
1819
include:
1920
- php: 8.2
2021
analysis: true
22+
- php: nightly
23+
experimental: true
24+
composer-options: '--ignore-platform-req=php+'
2125

2226
steps:
2327
- name: Checkout
@@ -30,12 +34,7 @@ jobs:
3034
coverage: xdebug
3135

3236
- name: Install dependencies with Composer
33-
if: matrix.php < '8.4'
34-
run: composer update --prefer-dist --no-progress --no-interaction --ansi
35-
36-
- name: Install dependencies with Composer
37-
if: matrix.php >= '8.4'
38-
run: composer update --prefer-dist --no-progress --no-interaction --ansi --ignore-platform-reqs
37+
run: composer update --prefer-dist --no-progress --no-interaction --ansi ${{ matrix.composer-options }}
3938

4039
- name: Coding standards
4140
if: matrix.analysis

0 commit comments

Comments
 (0)