Codebase list php-react-promise / 863c4a6
Merge pull request #240 from clue-labs/update-tests [3.x] Update test suite and report failed assertions Simon Frings authored 1 year, 6 months ago GitHub committed 1 year, 6 months ago
4 changed file(s) with 21 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
66 jobs:
77 PHPUnit:
88 name: PHPUnit (PHP ${{ matrix.php }})
9 runs-on: ubuntu-20.04
9 runs-on: ubuntu-22.04
1010 strategy:
1111 matrix:
1212 php:
1818 - 7.2
1919 - 7.1
2020 steps:
21 - uses: actions/checkout@v2
21 - uses: actions/checkout@v3
2222 - uses: shivammathur/setup-php@v2
2323 with:
2424 php-version: ${{ matrix.php }}
2525 coverage: xdebug
26 ini-file: development
2627 - run: composer install
2728 - run: vendor/bin/phpunit --coverage-text
2829 if: ${{ matrix.php >= 7.3 }}
2727 "php": ">=7.1.0"
2828 },
2929 "require-dev": {
30 "phpunit/phpunit": "^9.3 || ^7.5"
30 "phpunit/phpunit": "^9.5 || ^7.5"
3131 },
3232 "autoload": {
3333 "psr-4": {
00 <?xml version="1.0" encoding="UTF-8"?>
11
2 <!-- PHPUnit configuration file with new format for PHPUnit 9.3+ -->
3 <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
2 <!-- PHPUnit configuration file with new format for PHPUnit 9.5+ -->
3 <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd"
55 bootstrap="vendor/autoload.php"
66 cacheResult="false"
77 colors="true"
2121 </coverage>
2222 <php>
2323 <ini name="error_reporting" value="-1" />
24 <!-- Evaluate assertions, requires running with "php -d zend.assertions=1 vendor/bin/phpunit" -->
25 <!-- <ini name="zend.assertions=1" value="1" /> -->
26 <ini name="assert.active" value="1" />
27 <ini name="assert.exception" value="1" />
28 <ini name="assert.bail" value="0" />
2429 </php>
2530 </phpunit>
00 <?xml version="1.0" encoding="UTF-8"?>
11
2 <!-- PHPUnit configuration file with old format for PHPUnit 9.2 or older -->
2 <!-- PHPUnit configuration file with old format before PHPUnit 9 -->
33 <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
44 xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/7.5/phpunit.xsd"
55 bootstrap="vendor/autoload.php"
1717 </exclude>
1818 </whitelist>
1919 </filter>
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>