Add "memory_limit" parameter to phpunit

This commit is contained in:
Philipp 2023-12-03 11:45:55 +01:00
parent e0fb149466
commit cfff24518e
No known key found for this signature in database
GPG key ID: 24A7501396EB5432

View file

@ -69,9 +69,9 @@ steps:
- 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