Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 29ec4c7

Browse files
committedJun 24, 2024·
1203: Fixed phpunit github actions healthcheck for mariadb
1 parent f756146 commit 29ec4c7

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed
 

‎.github/workflows/php_upgrade.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,12 @@ jobs:
6363
MYSQL_PASSWORD: db
6464
MYSQL_DATABASE: db_test
6565
MYSQL_ROOT_PASSWORD: password
66-
options: --health-cmd="mysqladmin ping" --health-interval=5s --health-timeout=2s --health-retries=3
66+
# https://mariadb.org/mariadb-server-docker-official-images-healthcheck-without-mysqladmin/
67+
options: >-
68+
--health-cmd="healthcheck.sh --connect --innodb_initialized"
69+
--health-interval=5s
70+
--health-timeout=2s
71+
--health-retries=3
6772
strategy:
6873
fail-fast: false
6974
matrix:

0 commit comments

Comments
 (0)
Please sign in to comment.