File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 11language : php
22
33php :
4- - 7.2
54 - 7.3
65 - 7.4
76 - nightly
@@ -30,15 +29,14 @@ install:
3029
3130before_script : |
3231 if (php -m | grep -q -i xdebug); then
33- export PHPUNIT_FLAGS ="--coverage-clover cache/logs/clover. xml"
32+ export COVERAGE_FLAGS ="--coverage --coverage- xml"
3433 else
35- export PHPUNIT_FLAGS="--no-coverage "
34+ export COVERAGE_FLAGS=" "
3635 fi
3736
3837script :
39- - vendor/bin/phpunit $PHPUNIT_FLAGS
38+ - vendor/bin/codecept run $COVERAGE_FLAGS
4039
4140after_script :
42- - test "$PHPUNIT_FLAGS" == "--no-coverage" || vendor/bin/infection --only-covered --no-progress --no-interaction --threads=4
43- - test "$PHPUNIT_FLAGS" == "--no-coverage" || php "$HOME/ocular.phar" code-coverage:upload --format=php-clover cache/logs/clover.xml
41+ - test "$COVERAGE_FLAGS" == "" || php "$HOME/ocular.phar" code-coverage:upload --format=php-clover tests/_output/coverage.xml
4442
You can’t perform that action at this time.
0 commit comments