Skip to content

Commit 40b54c1

Browse files
committed
chore: added PHP 8.5 to PHPUnit
1 parent 3c10cc1 commit 40b54c1

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

.github/workflows/reusable-phpunit-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ jobs:
209209
DB: ${{ inputs.db-platform }}
210210
TACHYCARDIA_MONITOR_GA: ${{ inputs.enable-profiling && 'enabled' || '' }}
211211
TERM: xterm-256color
212+
continue-on-error: ${{ inputs.php-version == '8.5' }}
212213

213214
- name: Upload coverage results as artifact
214215
if: ${{ inputs.enable-artifact-upload }}

.github/workflows/test-phpunit.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ jobs:
6060
- '8.2'
6161
- '8.3'
6262
- '8.4'
63+
include:
64+
- php-version: '8.5'
65+
composer-option: '--ignore-platform-req=php'
6366

6467
uses: ./.github/workflows/reusable-phpunit-test.yml # @TODO Extract to codeigniter4/.github repo
6568
with:
@@ -99,6 +102,8 @@ jobs:
99102
- php-version: '8.1'
100103
db-platform: MySQLi
101104
mysql-version: '5.7'
105+
- php-version: '8.5'
106+
composer-option: '--ignore-platform-req=php'
102107

103108
uses: ./.github/workflows/reusable-phpunit-test.yml # @TODO Extract to codeigniter4/.github repo
104109
with:
@@ -127,6 +132,9 @@ jobs:
127132
- '8.2'
128133
- '8.3'
129134
- '8.4'
135+
include:
136+
- php-version: '8.5'
137+
composer-option: '--ignore-platform-req=php'
130138

131139
uses: ./.github/workflows/reusable-phpunit-test.yml # @TODO Extract to codeigniter4/.github repo
132140
with:
@@ -153,6 +161,9 @@ jobs:
153161
- '8.2'
154162
- '8.3'
155163
- '8.4'
164+
include:
165+
- php-version: '8.5'
166+
composer-option: '--ignore-platform-req=php'
156167

157168
uses: ./.github/workflows/reusable-phpunit-test.yml # @TODO Extract to codeigniter4/.github repo
158169
with:

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
"CodeIgniter\\ComposerScripts::postUpdate"
9090
],
9191
"post-autoload-dump": [
92-
"@composer update --ansi --working-dir=utils"
92+
"@composer update --ansi --working-dir=utils --ignore-platform-req=php"
9393
],
9494
"analyze": [
9595
"Composer\\Config::disableProcessTimeout",

0 commit comments

Comments
 (0)