Skip to content

Commit 1925d5f

Browse files
committed
chore: add PHP 8.3 to test-phpunit.yml
1 parent 37ebc6f commit 1925d5f

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/test-phpunit.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ jobs:
5959
- '8.0'
6060
- '8.1'
6161
- '8.2'
62+
- '8.3'
63+
include:
64+
- php-version: '8.3'
65+
composer-option: '--ignore-platform-req=php'
6266

6367
uses: ./.github/workflows/reusable-phpunit-test.yml # @TODO Extract to codeigniter4/.github repo
6468
with:
@@ -70,6 +74,7 @@ jobs:
7074
enable-coverage: ${{ matrix.php-version == needs.coverage-php-version.outputs.version }}
7175
enable-profiling: ${{ matrix.php-version == needs.coverage-php-version.outputs.version }}
7276
extra-extensions: imagick, redis, memcached
77+
extra-composer-options: ${{ matrix.composer-option }}
7378

7479
database-live-tests:
7580
needs:
@@ -84,6 +89,7 @@ jobs:
8489
- '8.0'
8590
- '8.1'
8691
- '8.2'
92+
- '8.3'
8793
db-platform:
8894
- MySQLi
8995
- OCI8
@@ -96,6 +102,8 @@ jobs:
96102
- php-version: '7.4'
97103
db-platform: MySQLi
98104
mysql-version: '8.0'
105+
- php-version: '8.3'
106+
composer-option: '--ignore-platform-req=php'
99107

100108
uses: ./.github/workflows/reusable-phpunit-test.yml # @TODO Extract to codeigniter4/.github repo
101109
with:
@@ -109,6 +117,7 @@ jobs:
109117
enable-coverage: ${{ matrix.php-version == needs.coverage-php-version.outputs.version }}
110118
enable-profiling: ${{ matrix.php-version == needs.coverage-php-version.outputs.version }}
111119
extra-extensions: mysqli, oci8, pgsql, sqlsrv-5.10.1, sqlite3
120+
extra-composer-options: ${{ matrix.composer-option }}
112121

113122
separate-process-tests:
114123
needs:
@@ -122,6 +131,10 @@ jobs:
122131
- '8.0'
123132
- '8.1'
124133
- '8.2'
134+
- '8.3'
135+
include:
136+
- php-version: '8.3'
137+
composer-option: '--ignore-platform-req=php'
125138

126139
uses: ./.github/workflows/reusable-phpunit-test.yml # @TODO Extract to codeigniter4/.github repo
127140
with:
@@ -133,6 +146,7 @@ jobs:
133146
enable-coverage: true # needs xdebug for assertHeaderEmitted() tests
134147
enable-profiling: ${{ matrix.php-version == needs.coverage-php-version.outputs.version }}
135148
extra-extensions: mysqli, oci8, pgsql, sqlsrv-5.10.1, sqlite3
149+
extra-composer-options: ${{ matrix.composer-option }}
136150

137151
cache-live-tests:
138152
needs:
@@ -146,6 +160,10 @@ jobs:
146160
- '8.0'
147161
- '8.1'
148162
- '8.2'
163+
- '8.3'
164+
include:
165+
- php-version: '8.3'
166+
composer-option: '--ignore-platform-req=php'
149167

150168
uses: ./.github/workflows/reusable-phpunit-test.yml # @TODO Extract to codeigniter4/.github repo
151169
with:
@@ -157,6 +175,7 @@ jobs:
157175
enable-coverage: ${{ matrix.php-version == needs.coverage-php-version.outputs.version }}
158176
enable-profiling: ${{ matrix.php-version == needs.coverage-php-version.outputs.version }}
159177
extra-extensions: redis, memcached
178+
extra-composer-options: ${{ matrix.composer-option }}
160179

161180
coveralls:
162181
name: Upload coverage results to Coveralls

0 commit comments

Comments
 (0)