1
0
Fork 0
mirror of https://github.com/shouptech/humulus.git synced 2026-02-03 17:09:44 +00:00

Add couchurl as env variable

This commit is contained in:
Emma 2019-06-27 13:18:19 -06:00
parent a81562f379
commit 8813fb766a

View file

@ -11,12 +11,14 @@ services:
steps:
- name: test
image: python:3.6
environment:
COUCH_URL: 'http://couchdb:5984'
commands:
# Install pre-requisites
- pip install coverage pytest
- pip install -e .
# Wait for couch
- until curl 'http://couchdb:5984' ; do sleep 1 ; done
- until curl "$COUCH_URL" ; do sleep 1 ; done
# Run tests
- coverage run -m pytest
- coverage report -m