Commit a15c3fac authored by okhin's avatar okhin

Migrate the database before tests, should Close #17

parent bfa79b89
Pipeline #1033 failed with stage
in 3 minutes and 23 seconds
......@@ -21,5 +21,6 @@ unit tests:
- pip install -r requirements-tests.txt
- echo "DEBUG = True" > ./project/settings/env.py
- echo "SECRET_KEY = '$(pwgen 20 1)'" >> ./project/settings/env.py
- ./manage.py migrate
- pytest apps/ --cov=apps/
tags: [preprod]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment