1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 08:21:34 +02:00

Run tests with 1GB memory by default

This commit is contained in:
Benjamin Beganović 2021-07-13 14:44:21 +02:00
parent 23ead7732a
commit 6f8fd53599

View File

@ -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