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