Skip to content

Commit b27121f

Browse files
ci: fix test matrix to cover all PHP and Doctrine ORM combinations
The CI workflow now correctly tests all combinations of: - PHP versions (8.1, 8.2, 8.3, 8.4) - Doctrine ORM versions (2.14, 3.0, latest) This creates 12 test combinations instead of separate jobs for PHP and Doctrine. Code coverage reporting remains exclusive to PHP 8.4 builds.
1 parent 7f2b05d commit b27121f

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,19 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20+
php: ['8.1', '8.2', '8.3', '8.4']
21+
doctrine-orm: ['2.14', '3.0', 'latest']
2022
include:
21-
- php: '8.1'
22-
- php: '8.2'
23-
- php: '8.3'
2423
- php: '8.4'
2524
calculate-code-coverage: true
26-
- doctrine-orm: '2.14'
27-
- doctrine-orm: '3.0'
28-
- doctrine-orm: 'latest'
2925

3026
steps:
3127
- uses: actions/checkout@v4
3228

3329
- name: Set up PHP with PECL extension
3430
uses: shivammathur/setup-php@v2
3531
with:
36-
php-version: ${{ matrix.php || '8.4' }}
32+
php-version: ${{ matrix.php }}
3733
coverage: xdebug
3834
extensions: ctype, json, mbstring
3935
tools: composer

0 commit comments

Comments
 (0)