This commit is contained in:
parent
574fd365de
commit
152eb592f9
14
.drone.yml
14
.drone.yml
@ -4,30 +4,30 @@ name: default
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Unit Tests
|
- name: Unit Tests
|
||||||
image: python:3.12
|
image: weastur/poetry:latest-python-3.12
|
||||||
commands:
|
commands:
|
||||||
- pip install poetry
|
# - pip install poetry
|
||||||
- poetry config virtualenvs.create false
|
- poetry config virtualenvs.create false
|
||||||
- poetry install
|
- poetry install
|
||||||
- poetry run pytest
|
- poetry run pytest
|
||||||
|
|
||||||
- name: Python Code Lint
|
- name: Python Code Lint
|
||||||
image: python:3.12
|
image: weastur/poetry:latest-python-3.12
|
||||||
commands:
|
commands:
|
||||||
- pip install poetry
|
# - pip install poetry
|
||||||
- poetry config virtualenvs.create false
|
- poetry config virtualenvs.create false
|
||||||
- poetry install
|
- poetry install
|
||||||
- poetry run black .
|
- poetry run black .
|
||||||
|
|
||||||
- name: Static Type check
|
- name: Static Type check
|
||||||
image: python:3.12
|
image: weastur/poetry:latest-python-3.12
|
||||||
commands:
|
commands:
|
||||||
- pip install poetry
|
# - pip install poetry
|
||||||
- poetry config virtualenvs.create false
|
- poetry config virtualenvs.create false
|
||||||
- poetry install
|
- poetry install
|
||||||
- poetry run mypy .
|
- poetry run mypy .
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
image: python:3.12
|
image: weastur/poetry:latest-python-3.12
|
||||||
commands:
|
commands:
|
||||||
- echo "TODO"
|
- echo "TODO"
|
||||||
|
Loading…
Reference in New Issue
Block a user