diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4e222448..821a8207 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -40,7 +40,8 @@ jobs: - name: Prepare WordPress Database run: | mysql -e 'CREATE DATABASE wordpress_tests;' -uroot -proot - mysql -e "GRANT ALL PRIVILEGES ON wordpress_tests.* TO 'wp'@'localhost' IDENTIFIED BY 'wp';" -uroot -proot + mysql -e "CREATE USER 'wp'@'localhost' IDENTIFIED BY 'wp';" -uroot -proot + mysql -e "GRANT ALL PRIVILEGES ON wordpress_tests.* TO 'wp'@'localhost';" -uroot -proot mysql -e 'FLUSH PRIVILEGES;' -uroot -proot - name: Run PHPUnit tests