Skip to content

Commit a884a94

Browse files
committed
chore: added PHP 8.5 to Github Action
1 parent ebc25b4 commit a884a94

File tree

4 files changed

+21
-3
lines changed

4 files changed

+21
-3
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-coding-standards.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
matrix:
3030
php-version:
3131
- '8.1'
32-
- '8.4'
32+
- '8.5'
3333

3434
steps:
3535
- name: Checkout base branch for PR
@@ -64,4 +64,9 @@ jobs:
6464
run: composer update --ansi --no-interaction
6565

6666
- name: Run lint
67-
run: composer cs
67+
run: |
68+
if [ "${{ matrix.php-version }}" = "8.5" ]; then
69+
composer cs -- --allow-unsupported-php-version=yes
70+
else
71+
composer cs
72+
fi

.github/workflows/test-phpunit.yml

Lines changed: 12 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:
@@ -87,6 +90,7 @@ jobs:
8790
- '8.2'
8891
- '8.3'
8992
- '8.4'
93+
- '8.5'
9094
db-platform:
9195
- MySQLi
9296
- OCI8
@@ -99,6 +103,8 @@ jobs:
99103
- php-version: '8.1'
100104
db-platform: MySQLi
101105
mysql-version: '5.7'
106+
- php-version: '8.5'
107+
composer-option: '--ignore-platform-req=php'
102108

103109
uses: ./.github/workflows/reusable-phpunit-test.yml # @TODO Extract to codeigniter4/.github repo
104110
with:
@@ -127,6 +133,9 @@ jobs:
127133
- '8.2'
128134
- '8.3'
129135
- '8.4'
136+
include:
137+
- php-version: '8.5'
138+
composer-option: '--ignore-platform-req=php'
130139

131140
uses: ./.github/workflows/reusable-phpunit-test.yml # @TODO Extract to codeigniter4/.github repo
132141
with:
@@ -153,6 +162,9 @@ jobs:
153162
- '8.2'
154163
- '8.3'
155164
- '8.4'
165+
include:
166+
- php-version: '8.5'
167+
composer-option: '--ignore-platform-req=php'
156168

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

.github/workflows/test-rector.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
strategy:
4646
fail-fast: false
4747
matrix:
48-
php-versions: ['8.1', '8.4']
48+
php-versions: ['8.1', '8.5']
4949
steps:
5050
- name: Checkout base branch for PR
5151
if: github.event_name == 'pull_request'

0 commit comments

Comments
 (0)