mirror of
https://github.com/shouptech/humulus.git
synced 2026-02-03 19:39:43 +00:00
23 lines
471 B
YAML
23 lines
471 B
YAML
kind: pipeline
|
|
name: default
|
|
|
|
services:
|
|
- name: couchdb
|
|
image: couchdb:2.3
|
|
environment:
|
|
COUCHDB_USER: admin
|
|
COUCHDB_PASSWORD: password
|
|
|
|
steps:
|
|
- 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
|