Skip to content

Commit 3fcbfed

Browse files
committed
Use pcov extension for code coverage
1 parent 186a70e commit 3fcbfed

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

githubactions-php-coverage/Dockerfile

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ LABEL \
1111
USER root
1212

1313
RUN \
14-
# Install xdebug extension.
15-
pecl install xdebug \
16-
&& docker-php-ext-enable xdebug \
17-
&& echo "xdebug.mode=coverage" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
14+
# Install pcov extension.
15+
pecl install pcov \
16+
&& docker-php-ext-enable pcov \
17+
&& echo "pcov.enabled=1" >> /usr/local/etc/php/conf.d/docker-php-ext-pcov.ini
1818

1919
USER glpi

0 commit comments

Comments
 (0)