mirror of
https://github.com/shouptech/humulus.git
synced 2026-02-03 17:09:44 +00:00
Detach couch container
This commit is contained in:
parent
7f28223deb
commit
5d8f536cb6
2 changed files with 5 additions and 4 deletions
|
|
@ -7,11 +7,16 @@ steps:
|
|||
environment:
|
||||
COUCHDB_USER: admin
|
||||
COUCHDB_PASSWORD: password
|
||||
detach: true
|
||||
|
||||
- name: test
|
||||
image: python:3.6
|
||||
commands:
|
||||
# Wait for couch
|
||||
- until curl 'http://localhost:5984' ; do sleep 1 ; done
|
||||
# Configure settings
|
||||
- export HUMULUS_SETTINGS="$(pwd)/testsettings.py"
|
||||
# Run tests
|
||||
- pip install coverage pytest
|
||||
- pip install -e .
|
||||
- coverage run -m pytest
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
FLASK_DEBUG = 1
|
||||
SECRET_KEY = b'dev'
|
||||
FLASK_ENV = 'development'
|
||||
TEMPLATES_AUTO_RELOAD = True
|
||||
|
||||
COUCH_URL='http://localhost:5984'
|
||||
COUCH_USERNAME='admin'
|
||||
COUCH_PASSWORD='password'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue