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 16
16
strategy :
17
17
fail-fast : true
18
18
matrix :
19
- php : ['8.0' , 8.1, 8.2] # 7.2,
19
+ php : [8.3 , 8.1, 8.2]
20
20
# os: [ubuntu-latest] # , macOS-latest, windows-latest,
21
21
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'
30
22
31
23
steps :
32
24
- name : Checkout
59
51
- name : Install dependencies
60
52
run : composer update --no-progress
61
53
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
-
71
54
# phpunit -v --debug
72
55
# phpdbg -dauto_globals_jit=Off-qrr $(which phpunit) --coverage-clover ./test/clover.info
73
56
- name : Run test suite
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ vendor/
12
12
* .tgz
13
13
* .txt
14
14
* .cache
15
+ * .bak
15
16
.phpintel /
16
17
.env
17
18
.phpstorm.meta.php
Original file line number Diff line number Diff line change 1
1
<?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 >
24
13
</phpunit >
You can’t perform that action at this time.
0 commit comments