Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b5e11ae

Browse files
committedSep 11, 2024·
Unit test against newer versions of MariaDB
- MariaDB 10.11 is readily installable on Rocky8 and is the version we run in production. - MariaDB would appear to be the last version in the 10.X series. - MariaDB 11.4 is the first version in the 11.X series, so test against it. - Also test against the newest image in the 11.X series. - Also test against the "latest" docker image available. In the near term, this is likely to the same image as "11". However testing against "latest" will mean we test against 12 automatically when it is released. - Use `mariadb-admin` as admin command. - MariaDB <10.3 required mysqladmin be used. - MariaDB 10.4 to <11.0 allow both mysqladmin and mariadb-admin to be used. - MariaDB 11+ requires mariadb-admin.
1 parent f5a4069 commit b5e11ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎.github/workflows/continuous-integration.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
# Define jobs for all combinations of php, mariadb and extension, up to "include"
1515
# Tests will be performed for each combination
1616
php-version: ["7.4"]
17-
mariadb-version: ["10.3"]
17+
mariadb-version: ["10.11", "11.4", "11", "latest"]
1818
extension: ["pdo_mysql"]
1919
composer-json: ["composer.json"]
2020

@@ -27,7 +27,7 @@ jobs:
2727
MYSQL_USER: "user"
2828
MYSQL_PASSWORD: "password"
2929

30-
options: --health-cmd="mysqladmin ping" --health-interval=5s --health-timeout=2s --health-retries=3
30+
options: --health-cmd="mariadb-admin ping" --health-interval=5s --health-timeout=2s --health-retries=3
3131
ports:
3232
- "3306:3306"
3333

0 commit comments

Comments
 (0)
Please sign in to comment.