Skip to content

Commit 476f8f3

Browse files
authored
Merge pull request #104 from wojsmol/auth-plugin
2 parents e44e2ba + dd4e73a commit 476f8f3

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

.github/workflows/testing.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -103,19 +103,10 @@ jobs:
103103

104104
services:
105105
mysql:
106-
image: bitnami/mysql:${{ matrix.mysql }}
107-
env:
108-
MYSQL_DATABASE: wp_cli_test
109-
MYSQL_USER: root
110-
MYSQL_ROOT_PASSWORD: root
111-
MYSQL_AUTHENTICATION_PLUGIN: mysql_native_password
106+
image: mysql:${{ matrix.mysql }}
112107
ports:
113-
- 3306/tcp
114-
options: >-
115-
--health-cmd="mysqladmin ping"
116-
--health-interval=10s
117-
--health-timeout=5s
118-
--health-retries=3
108+
- 3306
109+
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 -e MYSQL_ROOT_PASSWORD=root -e MYSQL_DATABASE=wp_cli_test --entrypoint sh mysql:${{ matrix.mysql }} -c "exec docker-entrypoint.sh mysqld --default-authentication-plugin=mysql_native_password"
119110

120111
steps:
121112
- name: Check out source code

0 commit comments

Comments
 (0)