Skip to content

Commit b92a038

Browse files
committed
Use correct healthcheck commands.
1 parent ebbc723 commit b92a038

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/reusable-phpunit-tests-v4.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ jobs:
118118
ports:
119119
- 3306
120120
options: >-
121-
--health-cmd="mysqladmin ping"
121+
--health-cmd="${{ inputs.db-type == 'mariadb' && ! contains( fromJSON( '["5.5", "10.0", "10.1", "10.2", "10.3"]' ), inputs.db-version ) && 'mariadb-admin ping -h 127.0.0.1' || 'mysqladmin ping -h 127.0.0.1' }}
122122
--health-interval="30s"
123123
--health-timeout="10s"
124124
--health-retries="5"

0 commit comments

Comments
 (0)