Skip to content

Commit 0b3ec5d

Browse files
committed
test cov
1 parent 8053885 commit 0b3ec5d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ jobs:
116116
tools: pecl, composer
117117
extensions: intl, bcmath, curl, openssl, mbstring, pdo_sqlite
118118
coverage: pcov
119-
ini-values: memory_limit=-1
119+
ini-values: memory_limit=-1, pcov.directory=src, pcov.exclude=vendor
120120
- name: Get composer cache directory
121121
id: composercache
122122
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
@@ -141,16 +141,14 @@ jobs:
141141
if: (!startsWith(matrix.php, '7.1'))
142142
run: composer require symfony/intl symfony/uid --dev --no-interaction --no-progress --ansi
143143
- name: Install PHPUnit
144-
env:
145-
SYMFONY_PHPUNIT_VERSION: '9.5'
146144
run: vendor/bin/simple-phpunit --version
147145
- name: Clear test app cache
148146
run: tests/Fixtures/app/console cache:clear --ansi
149147
- name: Run PHPUnit tests
150148
run: |
151149
mkdir -p build/logs/phpunit
152150
if [ "$COVERAGE" = '1' ]; then
153-
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
151+
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
154152
else
155153
vendor/bin/simple-phpunit --log-junit build/logs/phpunit/junit.xml
156154
fi

0 commit comments

Comments
 (0)