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 - if [ "${PHP_MAJOR_VERSION}" = "7.4" -a "${CI_REPO}" = "friendica/friendica" ]; then
phpenmod xdebug; phpenmod xdebug;
export XDEBUG_MODE=coverage; 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 else
phpunit --configuration tests/phpunit.xml; phpunit --configuration tests/phpunit.xml -d memory_limit=-1;
fi fi
codecov: codecov:
image: friendicaci/codecov image: friendicaci/codecov