mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-09-20 08:21:34 +02:00
Update script to cancel the loop if error is present
This commit is contained in:
parent
117930ad35
commit
e6da498ab5
4
dusk.sh
4
dusk.sh
@ -15,7 +15,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 --stop-on-failure $TEST_CLASS
|
||||
php artisan dusk --stop-on-error --stop-on-failure $TEST_CLASS || exit 1
|
||||
|
||||
echo "=========================================="
|
||||
done || exit 1
|
||||
@ -32,7 +32,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 --stop-on-failure $TEST_CLASS
|
||||
php artisan dusk --stop-on-error --stop-on-failure $TEST_CLASS || exit 1
|
||||
|
||||
echo "=========================================="
|
||||
done || exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user