From 8c92a179ca93ee252a5ace3714a3c4e2053026d5 Mon Sep 17 00:00:00 2001 From: Ryan Leckey Date: Fri, 3 Jan 2020 17:54:43 -0800 Subject: [PATCH] Fix health command for MariaDB --- .github/workflows/mariadb.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/mariadb.yml b/.github/workflows/mariadb.yml index bd76cdee..41a4dff3 100644 --- a/.github/workflows/mariadb.yml +++ b/.github/workflows/mariadb.yml @@ -21,7 +21,7 @@ jobs: # will assign a random free host port - 3309/tcp # needed because the container does not provide a healthcheck - options: --health-cmd "mysqladmin ping -h localhost" --health-interval 10s --health-timeout 5s --health-retries 5 + options: --health-cmd "mysql --user=root --password=$MYSQL_PASSWORD -e 'show databases;'" --health-interval 10s --health-timeout 5s --health-retries 5 steps: - uses: actions/checkout@v1