Skip to content

Commit 71de290

Browse files
committed
Run message rendering tests with PHP v8.4 and v8.5, too
1 parent 75072a3 commit 71de290

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/message_rendering.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@ jobs:
1414

1515
strategy:
1616
fail-fast: false
17+
matrix:
18+
php: ["8.3", "8.4", "8.5"]
1719

18-
name: Linux / PHP 8.3
20+
name: Linux / PHP ${{ matrix.php }}
1921

2022
steps:
2123
- name: Checkout code
@@ -26,6 +28,14 @@ jobs:
2628
# services are started before the repo is cloned). And instead of
2729
# re-building what our compose-file contains we can just use it.
2830
- name: Run tests via docker compose
31+
if: ${{ matrix.php != '8.5' }}
32+
run: docker compose -f .ci/compose.yaml run test_message_rendering
33+
34+
- name: Run tests via docker compose
35+
if: ${{ matrix.php == '8.5' }}
36+
env:
37+
ROUNDCUBEMAIL_IMAGE_MESSAGE_RENDERING: ghcr.io/roundcube/roundcubemail:php8.5-rc
38+
COMPOSE_ARGS: '--ignore-platform-reqs'
2939
run: docker compose -f .ci/compose.yaml run test_message_rendering
3040

3141
- name: Upload artifacts
@@ -34,4 +44,3 @@ jobs:
3444
with:
3545
name: Logs
3646
path: logs/errors.log
37-

0 commit comments

Comments
 (0)