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 ce5be88
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ jobs:
php-version: ${{ matrix.php }}
tools: composer
- name: Setup DB
run: sudo /etc/init.d/mysql start
run: |
echo -e "[mysqld]\ndefault-authentication-plugin=mysql_native_password" | sudo tee /etc/mysql/mysql.conf.d/mysqld_auth.cnf
sudo sudo systemctl start mysql.service
- name: Setup WP
run: bash bin/install-wp-tests.sh wordpress root root localhost "${{ matrix.wordpress }}"
- name: Install
Expand Down

0 comments on commit ce5be88

Please sign in to comment.