X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=.woodpecker%2F.phpunit.yml;h=325a2d9c1c42f5c6be19c0cb5fba603d40f2ef3a;hb=14266a1ca44ffc3207752808f72ecff347ad095d;hp=aee7fd384dd5920286efa12ae75f82cb79d8385d;hpb=a88cc1ff845c171024631c9904a6dd4840cb4715;p=friendica.git diff --git a/.woodpecker/.phpunit.yml b/.woodpecker/.phpunit.yml index aee7fd384d..325a2d9c1c 100644 --- a/.woodpecker/.phpunit.yml +++ b/.woodpecker/.phpunit.yml @@ -5,20 +5,22 @@ matrix: - PHP_MAJOR_VERSION: 7.4 PHP_VERSION: 7.4.33 - PHP_MAJOR_VERSION: 8.0 - PHP_VERSION: 8.0.25 + PHP_VERSION: 8.0.30 - PHP_MAJOR_VERSION: 8.1 - PHP_VERSION: 8.1.12 + PHP_VERSION: 8.1.23 + - PHP_MAJOR_VERSION: 8.2 + PHP_VERSION: 8.2.11 # This forces PHP Unit executions at the "opensocial" labeled location (because of much more power...) labels: location: opensocial -pipeline: +steps: php-lint: image: php:${PHP_MAJOR_VERSION} group: lint commands: - - ./bin/composer.phar run lint + - find . -name \*.php -not -path './vendor/*' -not -path './view/asset/*' -print0 | xargs -0 -n1 php -l restore_cache: image: meltwater/drone-cache:dev settings: @@ -67,9 +69,9 @@ pipeline: - if [ "${PHP_MAJOR_VERSION}" = "7.4" -a "${CI_REPO}" = "friendica/friendica" ]; then phpenmod xdebug; export XDEBUG_MODE=coverage; - phpunit --configuration tests/phpunit.xml --coverage-clover clover.xml; + phpunit --configuration tests/phpunit.xml -d memory_limit=-1 --coverage-clover clover.xml; else - phpunit --configuration tests/phpunit.xml; + phpunit --configuration tests/phpunit.xml -d memory_limit=-1; fi codecov: image: friendicaci/codecov