File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -7,19 +7,12 @@ IFS=$'\n\t'
7
7
# set environment variables
8
8
WC_STRIPE_DIR=" $GITHUB_WORKSPACE "
9
9
10
- echo ' Updating composer version & Install dependencies...'
11
- composer self-update 2.0.6 && composer install --no-progress
10
+ echo ' Install composer dependencies...'
11
+ composer install --no-progress
12
12
13
13
echo ' Starting MySQL service...'
14
14
sudo systemctl start mysql.service
15
15
16
- # On GitHub actions, set MySQL authentication to mysql_native_password instead of caching_sha2_password
17
- # to prevent DB connection problems with PHP versions less than 7.4
18
- if [[ -n $CI ]]; then
19
- echo " Configuring MySQL to use mysql_native_password"
20
- mysql -uroot -proot -e " ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root'; FLUSH PRIVILEGES;"
21
- fi
22
-
23
16
echo ' Setting up test environment...'
24
17
bash bin/install-wp-tests.sh woocommerce_test root root localhost $WP_VERSION $WC_VERSION false
25
18
You can’t perform that action at this time.
0 commit comments