Select Menu
Select Menu

MyBloggerTicks

ShoutMeLoud

Wisata

Culture

Transportasi Tradisional

Rumah Adat

Bali

Pantai

Seni Budaya

Kuliner

» » How to Setup PHPunit Code Coverage in GitLab


BloggBuzzer 00:34 0

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

«
Next
Newer Post
»
Previous
Older Post

No comments

Leave a Reply