Skip to content

Commit 5c7986d

Browse files
committed
fix functional tests
1 parent e44e2ba commit 5c7986d

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/testing.yml

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

104104
services:
105105
mysql:
106-
image: bitnami/mysql:${{ matrix.mysql }}
106+
image: mysql/mysql:${{ matrix.mysql }}
107107
env:
108108
MYSQL_DATABASE: wp_cli_test
109-
MYSQL_USER: root
110109
MYSQL_ROOT_PASSWORD: root
111-
MYSQL_AUTHENTICATION_PLUGIN: mysql_native_password
112110
ports:
113-
- 3306/tcp
114-
options: >-
115-
--health-cmd="mysqladmin ping"
116-
--health-interval=10s
117-
--health-timeout=5s
118-
--health-retries=3
111+
- 3306
112+
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:8 -c "exec docker-entrypoint.sh mysqld --default-authentication-plugin=mysql_native_password"
119113

120114
steps:
121115
- name: Check out source code

0 commit comments

Comments
 (0)