mirror of
https://github.com/shouptech/humulus.git
synced 2026-02-03 19:39:43 +00:00
Add couchurl as env variable
This commit is contained in:
parent
0c761a8319
commit
da85d7bd6d
1 changed files with 3 additions and 1 deletions
|
|
@ -11,12 +11,14 @@ services:
|
||||||
steps:
|
steps:
|
||||||
- name: test
|
- name: test
|
||||||
image: python:3.6
|
image: python:3.6
|
||||||
|
environment:
|
||||||
|
COUCH_URL: 'http://couchdb:5984'
|
||||||
commands:
|
commands:
|
||||||
# Install pre-requisites
|
# Install pre-requisites
|
||||||
- pip install coverage pytest
|
- pip install coverage pytest
|
||||||
- pip install -e .
|
- pip install -e .
|
||||||
# Wait for couch
|
# Wait for couch
|
||||||
- until curl 'http://couchdb:5984' ; do sleep 1 ; done
|
- until curl "$COUCH_URL" ; do sleep 1 ; done
|
||||||
# Run tests
|
# Run tests
|
||||||
- coverage run -m pytest
|
- coverage run -m pytest
|
||||||
- coverage report -m
|
- coverage report -m
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue