From e9e6e7fb3a381a5ab1b8c3b737fd422f72c52fa9 Mon Sep 17 00:00:00 2001 From: Marc Wolf <kontakt@marcit.eu> Date: Tue, 11 Jun 2024 14:30:29 +0200 Subject: [PATCH] [TASK] Add MariaDB test --- .github/workflows/docker-compose-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-compose-test.yml b/.github/workflows/docker-compose-test.yml index 8c0d42a..dc77f03 100644 --- a/.github/workflows/docker-compose-test.yml +++ b/.github/workflows/docker-compose-test.yml @@ -54,7 +54,7 @@ jobs: - name: Test MariaDB run: | sleep 10 # Wait for MariaDB to fully initialize - MARIADB_TEST=$(docker-compose exec -T mariadb mysql -u${MARIADB_USER} -p${MARIADB_PASSWORD} -e "SHOW DATABASES LIKE '${MARIADB_DATABASE}';") + MARIADB_TEST=$(docker-compose exec -T mariadb mariadb -u${MARIADB_USER} -p${MARIADB_PASSWORD} -e "SHOW DATABASES LIKE '${MARIADB_DATABASE}';") if [[ "$MARIADB_TEST" != *"${MARIADB_DATABASE}"* ]]; then echo "MariaDB test failed. Database not found." exit 1