This commit is contained in:
parent
f75c44cc1c
commit
2fd72c199b
14
.drone.yml
14
.drone.yml
@ -4,7 +4,7 @@
|
||||
################
|
||||
|
||||
kind: pipeline
|
||||
name: run_tests
|
||||
name: test
|
||||
type: docker
|
||||
|
||||
steps:
|
||||
@ -36,23 +36,23 @@ steps:
|
||||
- name: cd
|
||||
image: python:3.7.2
|
||||
commands:
|
||||
# Install dependencies
|
||||
- git fetch
|
||||
- pip install --no-cache-dir poetry
|
||||
- poetry install
|
||||
- poetry run semantic-release publish
|
||||
- poetry run semantic-release publish
|
||||
environment:
|
||||
LOGLEVEL: info
|
||||
GITEA_TOKEN:
|
||||
GITEA_TOKEN:
|
||||
from_secret: gitea_token
|
||||
volumes:
|
||||
- name: poetry_cache
|
||||
path: /root/.cache/pypoetry
|
||||
when:
|
||||
branch:
|
||||
branch:
|
||||
- main
|
||||
depends_on:
|
||||
- run_tests
|
||||
- test
|
||||
volumes:
|
||||
- name: poetry_cache
|
||||
host:
|
||||
path: /tmp/cache/drone/pypoetry
|
||||
path: /tmp/cache/drone/pypoetry
|
||||
|
Loading…
Reference in New Issue
Block a user