Skip to content

Commit

Permalink
ci: enable "mysql_native_password" for PHP 7.2 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
stklcode committed Mar 24, 2024
1 parent 9421cac commit 3251fa6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ jobs:
php-version: ${{ matrix.php }}
tools: composer
- name: Setup DB
run: sudo /etc/init.d/mysql start
run: |
cat /etc/my.cnf
echo
sudo sed -i 's/#default_authentication_plugin = mysql_native_password/default_authentication_plugin = mysql_native_password/' /etc/my.cnf
sudo /etc/init.d/mysql start
- name: Setup WP
run: bash bin/install-wp-tests.sh wordpress root root localhost "${{ matrix.wordpress }}"
- name: Install
Expand Down

0 comments on commit 3251fa6

Please sign in to comment.