Commit 7aed0a98 authored by Sergio Alonso's avatar Sergio Alonso

gitlab-ci: run server with https in tests

parent 72c62c8c
......@@ -28,7 +28,7 @@ job_tests:
- python3 manage.py makemigrations --settings=educational_heritage.settings.local
- python3 manage.py migrate --settings=educational_heritage.settings.local
- python3 manage.py loaddata Item --settings=educational_heritage.settings.local
- python3 manage.py runserver --settings=educational_heritage.settings.local &
- python3 manage.py runserver_plus --cert /tmp/cert --settings=educational_heritage.settings.local 0.0.0.0:8000 &
- coverage run manage.py test -k -v 2 --settings=educational_heritage.settings.local
- coverage report -m --skip-covered
only:
......
......@@ -29,4 +29,4 @@ RUN python manage.py migrate --settings=educational_heritage.settings.local
EXPOSE 8000
CMD [ "python", "manage.py", "runserver", "--settings=educational_heritage.settings.local", "0.0.0.0:8000" ]
CMD [ "python", "manage.py", "runserver_plus", "--cert /tmp/cert", "--settings=educational_heritage.settings.local", "0.0.0.0:8000" ]
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