Mapytex/.drone.yml

19 lines
356 B
YAML

kind: pipeline
name: default
steps:
- name: testing
image: python
commands:
- pip install -r requirements.txt
- pytest --doctest-modules ./mapytex/
- name: Publish
image: plugins/pypi
settings:
username:
from_secret: pypi_username
password:
from_secret: pypi_password
when:
event: tag