Update drone file
This commit is contained in:
parent
2169d6e035
commit
e26d170cd8
1 changed files with 2 additions and 23 deletions
25
.drone.yml
25
.drone.yml
|
@ -1,24 +1,3 @@
|
|||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: test_python-3-8
|
||||
|
||||
steps:
|
||||
- name: run tests
|
||||
image: mwalbeck/python-poetry:1.2-3.8
|
||||
environment:
|
||||
APP_DIR: determine_docker_tags
|
||||
POETRY_VIRTUALENVS_CREATE: "false"
|
||||
commands:
|
||||
- poetry install
|
||||
- black --check $${APP_DIR}
|
||||
- flake8 $${APP_DIR}
|
||||
- pytest
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- pull_request
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
|
@ -68,7 +47,7 @@ name: release
|
|||
|
||||
steps:
|
||||
- name: release new version
|
||||
image: mwalbeck/python-poetry:1.2-3.8
|
||||
image: mwalbeck/python-poetry:1.2-3.10
|
||||
environment:
|
||||
POETRY_VIRTUALENVS_CREATE: "false"
|
||||
POETRY_PYPI_TOKEN_PYPI:
|
||||
|
@ -83,6 +62,6 @@ trigger:
|
|||
|
||||
---
|
||||
kind: signature
|
||||
hmac: 8db417c41ee71a6f40b190554c7bdde547fea15cffee3ae8adf5db850e993ea8
|
||||
hmac: 3494f82b6e37802cf4f074ec00fc5ffbc88d84a49a3c2d8fbe0c24b0f329df5b
|
||||
|
||||
...
|
||||
|
|
Loading…
Add table
Reference in a new issue