Add "memory_limit" parameter to phpunit

This commit is contained in:
Philipp Holzer 2023-12-03 11:45:55 +01:00
parent e0fb149466
commit cfff24518e
Signed by: nupplaPhil
GPG Key ID: 24A7501396EB5432
1 changed files with 2 additions and 2 deletions

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