tests
This commit is contained in:
parent
0292701721
commit
691bd1a9d9
18
.drone.yml
18
.drone.yml
|
@ -1,15 +1,17 @@
|
||||||
pipeline:
|
pipeline:
|
||||||
backend:
|
docker:
|
||||||
build: ./compose/django/Dockerfile-dev
|
image: plugins/docker
|
||||||
image: maidstonehackspacewebsite_django
|
repo: maidstonehackspace_tests
|
||||||
|
dockerfile: ./compose/django/Dockerfile-dev
|
||||||
|
#image: maidstonehackspacewebsite_django
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=mhackspace
|
- POSTGRES_USER=mhackspace
|
||||||
- USE_DOCKER=yes
|
- USE_DOCKER=yes
|
||||||
- DJANGO_SETTINGS_MODULE=config.settings.test
|
- DJANGO_SETTINGS_MODULE=config.settings.test
|
||||||
commands:
|
# commands:
|
||||||
- cp -n env.example .env
|
# - cp -n env.example .env
|
||||||
- pip install -r /requirements/test.txt
|
# - pip install -r /requirements/test.txt
|
||||||
- python manage.py test mhackspace --verbosity 2
|
# - python manage.py test mhackspace --verbosity 2
|
||||||
|
|
||||||
|
|
||||||
#volumes:
|
#volumes:
|
||||||
|
@ -18,7 +20,7 @@ pipeline:
|
||||||
|
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
build: ./compose/postgres
|
dockerfile: ./compose/postgres
|
||||||
# build:
|
# build:
|
||||||
# context: .
|
# context: .
|
||||||
# dockerfile: ./compose/django/Dockerfile
|
# dockerfile: ./compose/django/Dockerfile
|
||||||
|
|
Loading…
Reference in New Issue