File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 77jobs :
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,11 +30,16 @@ 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
42+ - run : docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v $(pwd):/app -w /app php:${{ matrix.php }}-cli vendor/bin/phpunit
3743 if : ${{ matrix.php >= 7.3 }}
3844 - run : vendor/bin/phpunit --coverage-text --coverage-clover=clover.xml -c phpunit.xml.legacy
3945 if : ${{ matrix.php < 7.3 }}
You can’t perform that action at this time.
0 commit comments