Skip to content

Commit

Permalink
Fix CI tests with MariaDB. (#1797)
Browse files Browse the repository at this point in the history
* Fix CI tests with MariaDB.

The docker image now uses MARIADB_ROOT_PASSWORD for the environment
variable for the password rather than MYSQL_ROOT_PASSWORD.

* It's mariadb-admin now not mysqladmin

As per MariaDB/mariadb-docker#497
  • Loading branch information
tim-schilling committed Jun 17, 2023
1 parent e535c9d commit e15c538
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
mariadb:
image: mariadb
env:
MYSQL_ROOT_PASSWORD: debug_toolbar
MARIADB_ROOT_PASSWORD: debug_toolbar
options: >-
--health-cmd "mysqladmin ping"
--health-cmd "mariadb-admin ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
Expand Down

0 comments on commit e15c538

Please sign in to comment.