edbizarro / gitlab-ci-pipeline-php

:coffee: Docker images for test PHP applications with Gitlab CI (or any other CI platform!)
https://hub.docker.com/r/edbizarro/gitlab-ci-pipeline-php
MIT License
528 stars 166 forks source link

is pcov supported? #129

Open Stevemoretz opened 2 years ago

Stevemoretz commented 2 years ago

I would rather use pcov (https://github.com/krakjoe/pcov) instead of xdebug for coverage reporting of course that means the pcov php extension should be installed in the docker image, is it? or can be installed at runtime somehow?

Note that pcov is a lot faster compared to xdebug, in my experience for a rather big project with 200-300 tests with pcov it was 7 times faster than xdebug, also pcov coverage is a little better (currently xdebug has a few bugs with a multiline code style in closures that's why I moved to pcov in the first place).