File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -50,10 +50,14 @@ jobs:
5050 - name : Run tests with coverage
5151 if : ${{ matrix.coverage == 'yes' }}
5252 run : composer testc
53+ env :
54+ XDEBUG_MODE : coverage
5355
5456 - name : Code checks
5557 if : ${{ matrix.coverage == 'yes' }}
5658 run : composer check-code
59+ env :
60+ XDEBUG_MODE : coverage
5761
5862 - name : Upload test coverage (if applicable)
5963 if : ${{ matrix.coverage == 'yes' }}
Original file line number Diff line number Diff line change 1- <?xml version =" 1.0" encoding =" UTF-8" ?>
21<phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
32 xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/6.3/phpunit.xsd" >
43 <testsuites >
1817 <directory >./example/</directory >
1918 </testsuite >
2019 </testsuites >
21- <filter >
22- <whitelist processUncoveredFilesFromWhitelist = " true " >
23- <directory suffix =" .php" >./src/ </directory >
24- </whitelist >
25- </filter >
20+ <coverage >
21+ <include >
22+ <directory suffix =" .php" >./src</directory >
23+ </include >
24+ </coverage >
2625</phpunit >
You can’t perform that action at this time.
0 commit comments