File tree Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change 3030 run : make lint
3131
3232 - name : Run unit tests
33- run : vendor/bin/phpunit --coverage-clover=coverage.xml tests
33+ run : XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-text tests
3434
3535 - name : SonarQube Scan
3636 uses : SonarSource/sonarqube-scan-action@v5
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3+ xsi : noNamespaceSchemaLocation =" vendor/phpunit/phpunit/phpunit.xsd"
4+ bootstrap =" vendor/autoload.php"
5+ cacheDirectory =" .phpunit.cache"
6+ executionOrder =" depends,defects"
7+ requireCoverageMetadata =" true"
8+ beStrictAboutCoverageMetadata =" true"
9+ beStrictAboutOutputDuringTests =" true"
10+ displayDetailsOnPhpunitDeprecations =" true"
11+ failOnPhpunitDeprecation =" true"
12+ failOnRisky =" true"
13+ failOnWarning =" true" >
14+ <testsuites >
15+ <testsuite name =" default" >
16+ <directory >tests</directory >
17+ </testsuite >
18+ </testsuites >
19+
20+ <source ignoreIndirectDeprecations =" true" restrictNotices =" true" restrictWarnings =" true" >
21+ <include >
22+ <directory >src</directory >
23+ </include >
24+ </source >
25+ </phpunit >
You can’t perform that action at this time.
0 commit comments