tts-markup-utility/.drone.yml

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