File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ jobs:
116116 ${{env.docker_compose_cmd}} exec -T php bin/console hautelook:fixtures:load --append --no-interaction -vv
117117 ${{env.docker_compose_cmd}} exec -T php bin/console doctrine:fixtures:load --append --no-interaction -vv
118118 - name : Coverage
119- run : ${{env.docker_compose_cmd}} exec -e XDEBUG_MODE=coverage -T php bin/phpunit --coverage-clover=coverage/coverage.xml vendor/gally
119+ run : ${{env.docker_compose_cmd}} exec -T php php -d pcov.enabled=1 -d pcov.directory=vendor/gally bin/phpunit --coverage-clover=coverage/coverage.xml vendor/gally
120120
121121 - name : Cleanup coverage file
122122 run : ${{env.docker_compose_cmd}} exec -T php sed -i 's:<file name="/srv/:<file name="/:' coverage/coverage.xml
Original file line number Diff line number Diff line change @@ -44,6 +44,9 @@ RUN set -eux; \
4444 zip \
4545 ;
4646
47+ # Install PCov separately via PECL
48+ RUN pecl install pcov && docker-php-ext-enable pcov
49+
4750# ##> recipes ###
4851# ##> doctrine/doctrine-bundle ###
4952RUN set -eux; \
You can’t perform that action at this time.
0 commit comments