How to Setup PHPunit Code Coverage in GitLab
Source : How to Setup PHPunit Code Coverage in GitLab
Published On : December 23, 2016 at 01:38PM
By : Collins Agbonghama
In a previous post, i showed us how to set up automated testing for your PHP application. If you are using the .gitlab-ci.yml
configuration i posted, chances are you will get the below notice in your build log.
No code coverage driver is available
The notice is as a result of missing Xdebug PHP extension.
To install and enable Xdebug, add the commands below to the before_script:
section of your project .gitlab-ci.yml
# Install Xdebug - pecl install xdebug # Enable Xdebug - docker-php-ext-enable xdebug
Having done the above, go to your project settings and open the CI/CD pipelines screen.…
For More Go to : W3Guy – A Geek's Diary
Labels: Tech4Sky
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home