Skip to content

Commit 7524537

Browse files
committed
Update mariadb services
1 parent 0986e12 commit 7524537

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,13 @@ jobs:
1818
mariadb:
1919
image: mariadb
2020
env:
21+
MARIADB_MYSQL_LOCALHOST_USER: 1
22+
MARIADB_MYSQL_LOCALHOST_GRANTS: USAGE
2123
MYSQL_DATABASE: framework-tests
2224
MYSQL_ROOT_PASSWORD: password
2325
ports:
2426
- 3306:3306
25-
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
27+
options: --health-cmd="healthcheck.sh --su-mysql --connect --innodb_initialized" --health-interval=10s --health-timeout=5s --health-retries=3
2628

2729
name: PHP 8.1 - MariaDB
2830

@@ -83,11 +85,13 @@ jobs:
8385
mariadb:
8486
image: mariadb
8587
env:
88+
MARIADB_MYSQL_LOCALHOST_USER: 1
89+
MARIADB_MYSQL_LOCALHOST_GRANTS: USAGE
8690
MYSQL_DATABASE: framework-tests
8791
MYSQL_ROOT_PASSWORD: password
8892
ports:
8993
- 3306:3306
90-
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
94+
options: --health-cmd="healthcheck.sh --su-mysql --connect --innodb_initialized" --health-interval=10s --health-timeout=5s --health-retries=3
9195

9296
name: PHP 8.2 - MariaDB - Last
9397

0 commit comments

Comments
 (0)