ci: add proper poetry image
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Yandrik 2024-04-25 15:51:37 +02:00
parent 574fd365de
commit 152eb592f9

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"