ci: use poetry #2
17
.drone.yml
17
.drone.yml
@ -22,6 +22,15 @@ steps:
|
||||
- name: poetry_cache
|
||||
path: /root/.cache/pypoetry
|
||||
|
||||
volumes:
|
||||
- name: poetry_cache
|
||||
host:
|
||||
path: /tmp/cache/drone/pypoetry
|
||||
---
|
||||
kind: pipeline
|
||||
name: publish
|
||||
|
||||
steps:
|
||||
- name: publish
|
||||
image: python:3.7.2
|
||||
commands:
|
||||
@ -31,10 +40,16 @@ steps:
|
||||
- poetry run semantic-release publish --noop
|
||||
environment:
|
||||
LOGLEVEL: info
|
||||
|
||||
volumes:
|
||||
- name: poetry_cache
|
||||
path: /root/.cache/pypoetry
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
event:
|
||||
- push
|
||||
depends_on:
|
||||
- run_tests
|
||||
volumes:
|
||||
- name: poetry_cache
|
||||
host:
|
||||
|
Loading…
Reference in New Issue
Block a user