ci: add proper poetry image
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Yandrik 2024-04-25 15:51:37 +02:00
parent 574fd365de
commit 152eb592f9
1 changed files with 7 additions and 7 deletions

View File

@ -4,30 +4,30 @@ name: default
steps:
- name: Unit Tests
image: python:3.12
image: weastur/poetry:latest-python-3.12
commands:
- pip install poetry
# - pip install poetry
- poetry config virtualenvs.create false
- poetry install
- poetry run pytest
- name: Python Code Lint
image: python:3.12
image: weastur/poetry:latest-python-3.12
commands:
- pip install poetry
# - pip install poetry
- poetry config virtualenvs.create false
- poetry install
- poetry run black .
- name: Static Type check
image: python:3.12
image: weastur/poetry:latest-python-3.12
commands:
- pip install poetry
# - pip install poetry
- poetry config virtualenvs.create false
- poetry install
- poetry run mypy .
- name: Deploy
image: python:3.12
image: weastur/poetry:latest-python-3.12
commands:
- echo "TODO"