File tree Expand file tree Collapse file tree 3 files changed +13
-40
lines changed Expand file tree Collapse file tree 3 files changed +13
-40
lines changed Original file line number Diff line number Diff line change 1616 strategy :
1717 fail-fast : true
1818 matrix :
19- php : ['8.0' , 8.1, 8.2] # 7.2,
19+ php : [8.3 , 8.1, 8.2]
2020# os: [ubuntu-latest] # , macOS-latest, windows-latest,
2121 coverage : ['none']
22- include :
23- - description : ' Log Code Coverage'
24- php : ' 8.0'
25- coverage : ' xdebug'
26- # will not testing on php 7.2
27- # - os: 'ubuntu-latest'
28- # php: '7.2'
29- # phpunit: '8.5.13'
3022
3123 steps :
3224 - name : Checkout
5951 - name : Install dependencies
6052 run : composer update --no-progress
6153
62- - name : Generate changelog file
63- id : changelog
64- if : ${{ matrix.php == '8.1' }}
65- run : |
66- curl https://github.com/gookit/gitw/releases/latest/download/chlog-linux-amd64 -L -o /usr/local/bin/chlog
67- chmod a+x /usr/local/bin/chlog
68- chlog -c .github/changelog.yml -o changelog.md prev last
69- cat changelog.md
70-
7154 # phpunit -v --debug
7255 # phpdbg -dauto_globals_jit=Off-qrr $(which phpunit) --coverage-clover ./test/clover.info
7356 - name : Run test suite
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ vendor/
1212* .tgz
1313* .txt
1414* .cache
15+ * .bak
1516.phpintel /
1617.env
1718.phpstorm.meta.php
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3- colors =" true"
4- backupGlobals =" false"
5- backupStaticAttributes =" false"
6- bootstrap =" test/bootstrap.php"
7- convertErrorsToExceptions =" true"
8- convertNoticesToExceptions =" true"
9- convertWarningsToExceptions =" true"
10- stopOnFailure =" false"
11- xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.3/phpunit.xsd" >
12-
13- <testsuites >
14- <testsuite name =" Library Test Suite" >
15- <directory >test/</directory >
16- </testsuite >
17- </testsuites >
18-
19- <coverage >
20- <include >
21- <directory suffix =" .php" >src</directory >
22- </include >
23- </coverage >
2+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" colors =" true" backupGlobals =" false" bootstrap =" test/bootstrap.php" stopOnFailure =" false" xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/10.5/phpunit.xsd" cacheDirectory =" .phpunit.cache" backupStaticProperties =" false" >
3+ <testsuites >
4+ <testsuite name =" Library Test Suite" >
5+ <directory >test/</directory >
6+ </testsuite >
7+ </testsuites >
8+ <source >
9+ <include >
10+ <directory suffix =" .php" >src</directory >
11+ </include >
12+ </source >
2413</phpunit >
You can’t perform that action at this time.
0 commit comments