From 64549c97d3c5294143706e12e35f3832789cbcee Mon Sep 17 00:00:00 2001 From: Esa-Matti Suuronen Date: Tue, 21 May 2024 12:59:56 +0300 Subject: [PATCH] Fix mariadb service in gh actions --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 67c597f..6ac7700 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,8 +10,8 @@ jobs: ports: - 3306:3306 env: - MYSQL_ROOT_PASSWORD: root - options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 + MARIADB_ROOT_PASSWORD: root + options: --health-cmd="healthcheck.sh --connect --innodb_initialized" --health-interval=10s --health-timeout=5s --health-retries=3 runs-on: ubuntu-latest steps: - uses: actions/checkout@v1