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