Skip to content

Commit

Permalink
ci: maintained and stable mariadb version (lts)
Browse files Browse the repository at this point in the history
Also use MARIADB env names and the healthcheck.sh included in the container.
  • Loading branch information
grooverdan authored Jun 10, 2024
1 parent 59c8bc0 commit 9c4147a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ jobs:
- "default"
- "3@dev"
mariadb-version:
- "10.9"
- "lts"
extension:
- "mysqli"
- "pdo_mysql"
Expand All @@ -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"
Expand Down

0 comments on commit 9c4147a

Please sign in to comment.