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