1
0
Fork 0
mirror of https://github.com/shouptech/humulus.git synced 2026-02-03 20:59:41 +00:00
humulus/.drone.yml

23 lines
481 B
YAML

kind: pipeline
name: default
steps:
- name: launch couch
image: couchdb:2.3
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
- coverage report -m