File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed
Expand file tree Collapse file tree 1 file changed +13
-3
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,10 +30,19 @@ 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 system prune -f --volumes
39+ - run : docker network prune -f
40+ - run : docker network ls
41+ - run : docker network create test_network
42+ - run : sleep 2
43+ - run : docker network rm test_network
44+ - run : sleep 2
45+ - run : docker network prune -f
3646 - run : vendor/bin/phpunit --coverage-text --coverage-clover=clover.xml
3747 if : ${{ matrix.php >= 7.3 }}
3848 - run : vendor/bin/phpunit --coverage-text --coverage-clover=clover.xml -c phpunit.xml.legacy
4252 run : |
4353 <?php
4454 $metrics = simplexml_load_file('clover.xml')->project->metrics;
45- exit((int) $metrics['statements'] === (int) $metrics['coveredstatements'] ? 0 : 1);
55+ exit((int) $metrics['statements'] === (int) $metrics['coveredstatements'] ? 0 : 1);
You can’t perform that action at this time.
0 commit comments