Add the mysql client in the correct stage
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com>
This commit is contained in:
@@ -169,7 +169,7 @@ test-mysql:
|
||||
services:
|
||||
- mysql:8.0.3
|
||||
script:
|
||||
- apt-get install -qq libmysqlclient-dev libssl-dev
|
||||
- apt-get install -qq libmysqlclient-dev libssl-dev mysql-client
|
||||
- set -a && . ./config.env && set +a
|
||||
- pip install mysql-python==$PYTHON_MYSQL_VERSION
|
||||
- mysql -h"$MYSQL_PORT_3306_TCP_ADDR" -P"$MYSQL_PORT_3306_TCP_PORT" -uroot -p"$MYSQL_ENV_MYSQL_ROOT_PASSWORD" -e "set global character_set_server=utf8mb4;"
|
||||
@@ -185,7 +185,7 @@ test-postgres:
|
||||
services:
|
||||
- postgres
|
||||
script:
|
||||
- apt-get install -qq libpq-dev mysql-client
|
||||
- apt-get install -qq libpq-dev
|
||||
- set -a && . ./config.env && set +a
|
||||
- pip install psycopg2==$PYTHON_PSYCOPG2_VERSION
|
||||
- python manage.py test --mayan-apps --settings=mayan.settings.testing.gitlab-ci.db_postgres --nomigrations
|
||||
|
||||
Reference in New Issue
Block a user