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
a81562f379
commit
8813fb766a
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue