Skip to content

Commit fcf6101

Browse files
Tsvetan StoychevTsvetan Stoychev
authored andcommitted
Configure MySQL authentication for CI tests
1 parent ab2efda commit fcf6101

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,11 @@ jobs:
8585
working-directory: plugins/basicrum
8686
run: composer install --no-interaction --prefer-dist
8787

88+
- name: Configure MySQL authentication
89+
run: |
90+
docker exec "${{ job.services.mysql.id }}" mysql --protocol=socket --user=root --password=root \
91+
--execute="ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'root';"
92+
8893
- name: Install WordPress test library
8994
run: |
9095
set -e

0 commit comments

Comments
 (0)