File tree Expand file tree Collapse file tree 4 files changed +23
-6
lines changed Expand file tree Collapse file tree 4 files changed +23
-6
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-20 .04
10+ runs-on : ubuntu-22 .04
1111 strategy :
1212 matrix :
1313 php :
@@ -19,11 +19,12 @@ jobs:
1919 - 7.2
2020 - 7.1
2121 steps :
22- - uses : actions/checkout@v2
22+ - uses : actions/checkout@v3
2323 - uses : shivammathur/setup-php@v2
2424 with :
2525 php-version : ${{ matrix.php }}
2626 coverage : xdebug
27+ ini-file : development
2728 - run : composer install
2829 - run : docker run --net=host -d redis
2930 - run : REDIS_URI=localhost:6379 vendor/bin/phpunit --coverage-text
Original file line number Diff line number Diff line change 2121 },
2222 "require-dev" : {
2323 "clue/block-react" : " ^1.5" ,
24- "phpunit/phpunit" : " ^9.3 || ^7.5"
24+ "phpunit/phpunit" : " ^9.5 || ^7.5"
2525 },
2626 "autoload" : {
2727 "psr-4" : { "Clue\\ React\\ Redis\\ " : " src/" }
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22
3- <!-- PHPUnit configuration file with new format for PHPUnit 9.3 + -->
4- <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
5- xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.3 /phpunit.xsd"
3+ <!-- PHPUnit configuration file with new format for PHPUnit 9.5 + -->
4+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
5+ xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.5 /phpunit.xsd"
66 bootstrap =" vendor/autoload.php"
77 cacheResult =" false"
88 colors =" true"
1717 <directory >./src/</directory >
1818 </include >
1919 </coverage >
20+ <php >
21+ <ini name =" error_reporting" value =" -1" />
22+ <!-- Evaluate assertions, requires running with "php -d zend.assertions=1 vendor/bin/phpunit" -->
23+ <!-- <ini name="zend.assertions=1" value="1" /> -->
24+ <ini name =" assert.active" value =" 1" />
25+ <ini name =" assert.exception" value =" 1" />
26+ <ini name =" assert.bail" value =" 0" />
27+ </php >
2028</phpunit >
Original file line number Diff line number Diff line change 1515 <directory >./src/</directory >
1616 </whitelist >
1717 </filter >
18+ <php >
19+ <ini name =" error_reporting" value =" -1" />
20+ <!-- Evaluate assertions, requires running with "php -d zend.assertions=1 vendor/bin/phpunit" -->
21+ <!-- <ini name="zend.assertions=1" value="1" /> -->
22+ <ini name =" assert.active" value =" 1" />
23+ <ini name =" assert.exception" value =" 1" />
24+ <ini name =" assert.bail" value =" 0" />
25+ </php >
1826</phpunit >
You can’t perform that action at this time.
0 commit comments