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: 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"