Skip to content

Commit 7e28f5b

Browse files
Exit if failed
1 parent 06fbed2 commit 7e28f5b

File tree

2 files changed

+2
-101
lines changed

2 files changed

+2
-101
lines changed

bin/run-wordpress

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ export WP_ENV_TESTS_PORT=80${WORDPRESS_VERSION}
3232
export WP_ENV_CORE=WordPress/Wordpress#${WORDPRESS_VERSION_FULL}
3333
export WP_ENV_PHP_VERSION=${PHP_VERSION_FULL}
3434

35-
npx wp-env start
35+
npx wp-env start || exit 1
3636

3737
echo "Installing compatible plugins.."
38-
npx wp-env run tests-cli wp plugin install amazon-s3-and-cloudfront
38+
npx wp-env run tests-cli wp plugin install amazon-s3-and-cloudfront || exit 1
3939

4040
echo "To stop, run: bin/stop-wordpress"

bin/setup-integration-tests

Lines changed: 0 additions & 99 deletions
This file was deleted.

0 commit comments

Comments
 (0)