diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 238f413782797fa29ee21be66201758017259bd0..e33208fc765b6b25437d53ff7f3fd3054d98bad4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,7 +7,7 @@ phpunit: needs: [] parallel: matrix: - - PHP_VERSION: ['7.4', '8.0', '8.1', '8.2'] + - PHP_VERSION: ['7.4', '8.0', '8.1'] image: iras/php-composer:${PHP_VERSION} cache: key: php-dependencies-${PHP_VERSION} @@ -17,8 +17,10 @@ phpunit: - export COMPOSER_CACHE_DIR=$(pwd)/storage/composer # basically we are ignoring the composer.lock in tests - composer update --no-interaction --ansi + - echo zend_extension=xdebug.so > /etc/php*/conf.d/51_xdebug.ini + - echo xdebug.mode=coverage >> /etc/php*/conf.d/51_xdebug.ini script: - - bin/phpunit -c phpunit.xml --color=always --coverage-text --coverage-clover=build/logs/clover.xml + - php -dzend_extension=phpbin/phpunit -c phpunit.xml --color=always --coverage-text --coverage-clover=build/logs/clover.xml packagist: stage: publish