Commit 8b06cc3d authored by smilin_desperado's avatar smilin_desperado

Add ci settings and update ci config

parent 3dc5235b
Pipeline #24055282 (#2) failed with stage
in 1 minute and 16 seconds
......@@ -13,10 +13,10 @@ cache:
before_script:
- python -V
- pip install pipenv
- pipenv
- pipenv install
test:
variables:
DATABASE_URL: "postgresql://postgres:postgres@postgres:5432/$POSTGRES_DB"
script:
- pipenv run manage.py test
- pipenv run python src/manage.py test --settings src.jobhunt.settings.ci
from .base import *
DEBUG = True
SECRET_KEY = '8rmsw_q+1s^_bs$eavju8nfe6a+k1540zhhy2e*&0cukh^9j*5'
INTERNAL_IPS = ['127.0.0.1']
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'ci',
'USER': 'postgres',
'PASSWORD': 'postgres',
'HOST': 'postgres',
'PORT': '5432',
}
}
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