From 0e6aa52f2eb06c7d26ea78030caeac2a0989c55d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Munsch?= Date: Fri, 21 Aug 2026 16:56:21 +0200 Subject: [PATCH] ci: install and enable pcov in tests_laravel job for code coverage --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dcdcb30..5488a9f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: