Skip to content
Snippets Groups Projects
Commit 2795f0ce authored by Thomas Flori's avatar Thomas Flori
Browse files

fix phpunit job

parent 3489fe49
No related branches found
No related tags found
No related merge requests found
Pipeline #657 failed with stages
in 1 minute and 11 seconds
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment