]> git.mxchange.org Git - friendica.git/commitdiff
Add "memory_limit" parameter to phpunit
authorPhilipp <admin@philipp.info>
Sun, 3 Dec 2023 10:45:55 +0000 (11:45 +0100)
committerPhilipp <admin@philipp.info>
Sun, 3 Dec 2023 10:45:55 +0000 (11:45 +0100)
.woodpecker/.phpunit.yml

index f3d60fbf9c5a08f02dd8a1679335fff8c017549a..325a2d9c1c42f5c6be19c0cb5fba603d40f2ef3a 100644 (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