File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,20 +2,25 @@ name: build
22
33on :
44 push :
5- branches : [ php72 ]
5+ branches : [ 1.x ]
66 pull_request :
7- branches : [ php72 ]
7+ branches : [ 1.x ]
88
99jobs :
1010 test :
1111 runs-on : ubuntu-latest
1212 strategy :
1313 matrix :
14- php : [7.2, 7.3, 7.4]
14+ php-versions : [7.2, 7.3, 7.4]
1515
1616 steps :
1717 - uses : actions/checkout@v2
1818
19+ - uses : shivammathur/setup-php@v2
20+ with :
21+ php-version : ${{ matrix.php-versions }}
22+ ini-values : error_reporting=E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR|E_PARSE
23+
1924 - name : Validate dependencies
2025 run : composer validate
2126
3843 run : vendor/bin/phpstan analyse
3944
4045 - name : Run test suite
41- run : vendor/bin/phpunit --configuration phpunit.xml.dist --coverage-clover=coverage.xml
46+ run : phpdbg -qrr vendor/bin/phpunit --configuration phpunit.xml.dist --coverage-clover=coverage.xml
4247
43- - uses : codecov/codecov-action@v1
48+ - uses : codecov/codecov-action@v1
You can’t perform that action at this time.
0 commit comments