This shows you the differences between two versions of the page.
gitlab-ci-phpunit [2021/03/30 07:14] – created admin | gitlab-ci-phpunit [2021/03/30 07:18] (current) – admin | ||
---|---|---|---|
Line 16: | Line 16: | ||
script: | script: | ||
- ./ | - ./ | ||
+ | </ | ||
+ | |||
+ | If you can't find a xdebug enabled php image, build it yourself: | ||
+ | |||
+ | <code yaml> | ||
+ | FROM php:< | ||
+ | |||
+ | RUN pecl install xdebug \ | ||
+ | && docker-php-ext-enable xdebug \ | ||
+ | && echo " | ||
+ | |||
+ | CMD [" | ||
+ | |||
+ | WORKDIR / | ||
</ | </ |