Skip to content

Commit 213e968

Browse files
committed
Add step to update WP_VERSION
1 parent fd79fd6 commit 213e968

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

bin/run-behat-tests

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,11 @@ export WP_CLI_TESTS_ROOT
3939
# Generate the tags to apply environment-specific filters.
4040
BEHAT_TAGS=$(php "$WP_CLI_TESTS_ROOT"/utils/behat-tags.php)
4141

42+
# Resolve WP_VERSION.
43+
WP_VERSION=$(php "$WP_CLI_TESTS_ROOT"/utils/wp-version-resolver.php)
44+
export WP_VERSION
45+
46+
echo "Running Behat tests for WordPress $WP_VERSION"
47+
4248
# Run the functional tests.
4349
vendor/bin/behat --format progress "$BEHAT_TAGS" --strict "$@"

0 commit comments

Comments
 (0)