Skip to content

Commit 5e9d12f

Browse files
authored
Merge pull request #6172 from paulbalandan/GHA-8.2
Add PHP 8.2 to Unit Tests GHA
2 parents bec75ab + ff2a4e3 commit 5e9d12f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/test-phpunit.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,15 @@ jobs:
4747
strategy:
4848
fail-fast: false
4949
matrix:
50-
php-versions: ['7.4', '8.0', '8.1']
50+
php-versions: ['7.4', '8.0', '8.1', '8.2']
5151
db-platforms: ['MySQLi', 'Postgre', 'SQLite3', 'SQLSRV', 'OCI8']
5252
mysql-versions: ['5.7']
5353
include:
5454
- php-versions: '7.4'
5555
db-platforms: MySQLi
5656
mysql-versions: '8.0'
57+
- php-versions: '8.2'
58+
composer-option: '--ignore-platform-req=php'
5759

5860
services:
5961
mysql:
@@ -148,8 +150,8 @@ jobs:
148150

149151
- name: Install dependencies
150152
run: |
151-
composer update --ansi --no-interaction
152-
composer remove --ansi --dev --unused -W -- rector/rector phpstan/phpstan friendsofphp/php-cs-fixer nexusphp/cs-config codeigniter/coding-standard
153+
composer update --ansi --no-interaction ${{ matrix.composer-option }}
154+
composer remove --ansi --dev --unused ${{ matrix.composer-option }} -W -- rector/rector phpstan/phpstan friendsofphp/php-cs-fixer nexusphp/cs-config codeigniter/coding-standard
153155
154156
- name: Profile slow tests in PHP ${{ env.COVERAGE_PHP_VERSION }}
155157
if: matrix.php-versions == env.COVERAGE_PHP_VERSION

0 commit comments

Comments
 (0)