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: # Install pre-requisites - pip install coverage pytest - pip install -e . # Wait for couch - until curl 'http://couchdb:5984' ; do sleep 1 ; done # Run tests - coverage run -m pytest - coverage report -m