From 6f8fd53599387999959ef8c4b89d2d76d6c35a11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Tue, 13 Jul 2021 14:44:21 +0200 Subject: [PATCH] Run tests with 1GB memory by default --- dusk.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dusk.sh b/dusk.sh index 9639b31622..8e3cde4b6a 100644 --- a/dusk.sh +++ b/dusk.sh @@ -32,7 +32,7 @@ for TEST_CLASS in $GENERIC_TESTS; do php artisan ninja:create-single-account &> /dev/null echo "$ php artisan dusk $TEST_CLASS" - php artisan dusk ${@:2} --stop-on-error --stop-on-failure $TEST_CLASS || exit 1 + php -d memory_limit=1G artisan dusk ${@:2} --stop-on-error --stop-on-failure $TEST_CLASS || exit 1 echo "==========================================" done || exit 1 @@ -56,7 +56,7 @@ for TEST_CLASS in $GATEWAY_TESTS; do php artisan ninja:create-single-account &> /dev/null echo "$ php artisan dusk $TEST_CLASS" - php artisan dusk ${@:2} --stop-on-error --stop-on-failure $TEST_CLASS || exit 1 + php -d memory_limit=1G artisan dusk ${@:2} --stop-on-error --stop-on-failure $TEST_CLASS || exit 1 echo "==========================================" done || exit 1