mirror of
https://github.com/friendica/friendica
synced 2024-12-23 00:00:21 +00:00
Add "memory_limit" parameter to phpunit
This commit is contained in:
parent
e0fb149466
commit
cfff24518e
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue