ci: install and enable pcov in tests_laravel job for code coverage
This commit is contained in:
parent
a395037058
commit
0e6aa52f2e
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,6 @@ tests_laravel:
|
|||
image: composer:2.10
|
||||
allow_failure: false
|
||||
variables:
|
||||
XDEBUG_MODE: coverage
|
||||
COMPOSER_CACHE_DIR: ".composer-cache"
|
||||
cache:
|
||||
- key:
|
||||
|
|
@ -109,6 +108,7 @@ tests_laravel:
|
|||
- .composer-cache/
|
||||
- vendor/
|
||||
before_script:
|
||||
- apk add --no-cache $PHPIZE_DEPS linux-headers && pecl install pcov && docker-php-ext-enable pcov
|
||||
- composer config gitlab-token.lab.s-web.fr "${CI_DEPLOY_USER}" "${CI_DEPLOY_PASSWORD}"
|
||||
- composer install --no-interaction --prefer-dist --optimize-autoloader --no-scripts
|
||||
script:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue