Skip to content

Commit

Permalink
test cov
Browse files Browse the repository at this point in the history
  • Loading branch information
soyuka committed Aug 10, 2021
1 parent 0b3ec5d commit 5d5e6c7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,11 @@ jobs:
- name: Run PHPUnit tests
run: |
mkdir -p build/logs/phpunit
if [ "$COVERAGE" = '1' ]; then
php -d memory_limit=-1 -d display_startup_errors=on -d display_errors=On -d error_reporting=22527 vendor/bin/simple-phpunit --coverage-clover build/logs/phpunit/clover.xml --log-junit build/logs/phpunit/junit.xml --testdox
# php -d memory_limit=-1 -d display_startup_errors=on -d display_errors=On -d error_reporting=22527 vendor/bin/simple-phpunit --coverage-clover build/logs/phpunit/clover.xml --log-junit build/logs/phpunit/junit.xml
vendor/bin/simple-phpunit --warm-coverage-cache --coverage-cache build/logs/phpunit
vendor/bin/simple-phpunit --log-junit build/logs/phpunit/junit.xml --coverage-cache build/logs/phpunit --coverage-clover build/logs/phpunit/clover.xml
else
vendor/bin/simple-phpunit --log-junit build/logs/phpunit/junit.xml
fi
Expand Down

0 comments on commit 5d5e6c7

Please sign in to comment.