Skip to content

Commit

Permalink
Workflows: allow MySQL 8 to run on PHP 7 and below
Browse files Browse the repository at this point in the history
  • Loading branch information
GaryJones committed Jul 21, 2023
1 parent 3a6c395 commit 83cc1db
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/integrate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,11 @@ jobs:
./vendor/bin/phpunit --version
- name: Start MySQL service
run: sudo /etc/init.d/mysql start
run: sudo systemctl start mysql.service

- name: Setting mysql_native_password for PHP <= 7.3
if: ${{ matrix.php <= 7.3 }}
run: mysql -u root -proot -e "ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root'";

- name: Install WordPress environment
run: composer prepare ${{ matrix.wordpress }}
Expand Down

0 comments on commit 83cc1db

Please sign in to comment.