Skip to content

Commit c0c2068

Browse files
committed
Run tests on PHP 8.4 and update test environment
1 parent d9f16d2 commit c0c2068

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 2 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
@@ -29,10 +30,14 @@ jobs:
2930
- uses: shivammathur/setup-php@v2
3031
with:
3132
php-version: ${{ matrix.php }}
32-
coverage: xdebug
33+
coverage: ${{ matrix.php < 8.0 && 'xdebug' || 'pcov' }}
3334
ini-file: development
3435
- run: composer install
3536
- run: docker pull busybox:latest
37+
- run: docker info
38+
- run: docker network ls
39+
- run: docker network create test_network
40+
- run: docker network rm test_network
3641
- run: vendor/bin/phpunit --coverage-text --coverage-clover=clover.xml
3742
if: ${{ matrix.php >= 7.3 }}
3843
- run: vendor/bin/phpunit --coverage-text --coverage-clover=clover.xml -c phpunit.xml.legacy

0 commit comments

Comments
 (0)