From c5a86c6f15164cd26ea5ad857926f6ec8dd6815d Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Mon, 10 Jun 2024 12:50:23 +1000 Subject: [PATCH] ci: maintained and stable mariadb version (11.4 current lts) Also use MARIADB env names and the healthcheck.sh included in the container. --- .github/workflows/continuous-integration.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 47453fdae5..c6c3cb752a 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -190,7 +190,7 @@ jobs: - "default" - "3@dev" mariadb-version: - - "10.9" + - "11.4" extension: - "mysqli" - "pdo_mysql" @@ -204,11 +204,11 @@ jobs: mariadb: image: "mariadb:${{ matrix.mariadb-version }}" env: - MYSQL_ALLOW_EMPTY_PASSWORD: yes - MYSQL_DATABASE: "doctrine_tests" + MARIADB_ALLOW_EMPTY_ROOT_PASSWORD: yes + MARIADB_DATABASE: "doctrine_tests" options: >- - --health-cmd "mysqladmin ping --silent" + --health-cmd "healthcheck.sh --connect --innodb_initialized" ports: - "3306:3306"