Skip to content

Commit

Permalink
[TASK] Add MariaDB test
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Wolf committed Jun 11, 2024
1 parent 8725e6d commit e9e6e7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-compose-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e9e6e7f

Please sign in to comment.