Skip to content

Commit

Permalink
Update steps to prepare wordpress db in yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
anktd committed Jun 6, 2024
1 parent 52b48c2 commit 11e5042
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 11e5042

Please sign in to comment.