ci: skip ssl when connecting to mariadb test database

This commit is contained in:
Yassine Doghri 2025-03-14 13:45:36 +00:00
parent 31fee52208
commit 00870ceff2

View File

@ -80,14 +80,14 @@ lint-js:
tests:
stage: quality
services:
- mariadb:10.2
- mariadb:10.11
variables:
MYSQL_ROOT_PASSWORD: "R00Tp4ssW0RD"
MYSQL_DATABASE: "test"
MYSQL_USER: "castopod"
MYSQL_PASSWORD: "castopod"
script:
- echo "SHOW DATABASES;" | mysql --user=root --password="$MYSQL_ROOT_PASSWORD" --host=mariadb "$MYSQL_DATABASE"
- echo "SHOW DATABASES;" | mariadb --user=root --password="$MYSQL_ROOT_PASSWORD" --host=mariadb "$MYSQL_DATABASE" --skip_ssl
# run phpunit without code coverage
# TODO: add code coverage