tts-markup-utility/.drone.yml
Yandrik c828814494
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/promote/production Build is passing
ci: improve ci
2024-04-25 15:56:14 +02:00

38 lines
821 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: Unit Tests
image: weastur/poetry:latest-python-3.12
commands:
# - pip install poetry
- poetry config virtualenvs.create false
- poetry install
- poetry run pytest
- name: Python Code Lint
image: weastur/poetry:latest-python-3.12
commands:
# - pip install poetry
- poetry config virtualenvs.create false
- poetry install
- poetry run black .
- name: Static Type check
image: weastur/poetry:latest-python-3.12
commands:
# - pip install poetry
- poetry config virtualenvs.create false
- poetry install
- poetry run mypy .
failure: ignore
- name: Deploy
image: weastur/poetry:latest-python-3.12
commands:
- echo "TODO"
depends_on: [ "Unit Tests", "Python Code Lint", "Static Type check"]