Skip to content

Commit 28c6f5b

Browse files
committed
Run tests on PHP 8.4 and update test environment
1 parent bbe0bd8 commit 28c6f5b

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ on:
77
jobs:
88
PHPUnit:
99
name: PHPUnit (PHP ${{ matrix.php }})
10-
runs-on: ubuntu-22.04
10+
runs-on: ubuntu-24.04
1111
strategy:
1212
matrix:
1313
php:
14+
- 8.4
1415
- 8.3
1516
- 8.2
1617
- 8.1
@@ -32,7 +33,7 @@ jobs:
3233
coverage: xdebug
3334
ini-file: development
3435
ini-values: disable_functions='' # do not disable PCNTL functions on PHP < 8.1
35-
extensions: sockets, pcntl ${{ matrix.php >= 5.6 && ', event' || '' }} ${{ matrix.php >= 5.4 && ', ev' || '' }}
36+
extensions: sockets, pcntl ${{ matrix.php >= 5.6 && ', event' || '' }} ${{ matrix.php >= 5.4 && (matrix.php < 8.0 && ', ev-1.1.5' || ', ev') || '' }}
3637
env:
3738
fail-fast: true # fail step if any extension can not be installed
3839
- run: composer install
@@ -46,8 +47,10 @@ jobs:
4647
runs-on: ubuntu-20.04
4748
continue-on-error: true
4849
strategy:
50+
fail-fast: false
4951
matrix:
5052
php:
53+
- 8.4
5154
- 8.3
5255
- 8.2
5356
- 8.1
@@ -106,11 +109,13 @@ jobs:
106109

107110
PHPUnit-Windows:
108111
name: PHPUnit (PHP ${{ matrix.php }} on Windows)
109-
runs-on: windows-2022
112+
runs-on: windows-2024
110113
continue-on-error: true
111114
strategy:
115+
fail-fast: false
112116
matrix:
113117
php:
118+
- 8.4
114119
- 8.3
115120
- 8.2
116121
- 8.1

0 commit comments

Comments
 (0)