Skip to content
Snippets Groups Projects
Commit b3be3987 authored by Benjamin Hättasch's avatar Benjamin Hättasch
Browse files

Adapt CI settings for fixture loading

parent 475289ac
No related branches found
No related tags found
No related merge requests found
Pipeline #120883 failed
...@@ -24,4 +24,5 @@ before_script: ...@@ -24,4 +24,5 @@ before_script:
test: test:
script: script:
- source venv/bin/activate - source venv/bin/activate
- python manage.py test --settings AKPlanning.settings_ci --keepdb - echo "GRANT ALL on *.* to '${MYSQL_USER}';"| mysql -u root --password="${MYSQL_ROOT_PASSWORD}" -h mysql
- python manage.py test --settings AKPlanning.settings_ci
...@@ -16,10 +16,11 @@ DATABASES = { ...@@ -16,10 +16,11 @@ DATABASES = {
'PASSWORD': 'mysql', 'PASSWORD': 'mysql',
'OPTIONS': { 'OPTIONS': {
'init_command': "SET sql_mode='STRICT_TRANS_TABLES'", 'init_command': "SET sql_mode='STRICT_TRANS_TABLES'",
'charset': "utf8mb4",
}, },
'TEST': { 'TEST': {
'NAME': 'test', 'NAME': 'tests',
'CHARSET': "utf8mb4",
'COLLATION': 'utf8mb4_unicode_ci',
}, },
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment