Skip to content
Snippets Groups Projects
Commit 0041dbc7 authored by Benjamin Hättasch's avatar Benjamin Hättasch Committed by Nadja Geisler
Browse files

Adapt CI pipeline for automated tests

parent 7b07ce65
No related branches found
No related tags found
1 merge request!95Test cases
...@@ -24,4 +24,4 @@ before_script: ...@@ -24,4 +24,4 @@ before_script:
test: test:
script: script:
- source venv/bin/activate - source venv/bin/activate
- python manage.py test --settings AKPlanning.settings_ci - python manage.py test --settings AKPlanning.settings_ci --keepdb
...@@ -16,6 +16,9 @@ DATABASES = { ...@@ -16,6 +16,9 @@ DATABASES = {
'PASSWORD': 'mysql', 'PASSWORD': 'mysql',
'OPTIONS': { 'OPTIONS': {
'init_command': "SET sql_mode='STRICT_TRANS_TABLES'" 'init_command': "SET sql_mode='STRICT_TRANS_TABLES'"
} },
'TEST' : {
'NAME': 'test',
},
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment