tts-markup-utility/.drone.yml

34 lines
728 B
YAML
Raw Normal View History

2024-04-25 13:37:15 +00:00
kind: pipeline
type: docker
name: default
steps:
- name: Unit Tests
2024-04-25 13:51:37 +00:00
image: weastur/poetry:latest-python-3.12
2024-04-25 13:37:15 +00:00
commands:
2024-04-25 13:51:37 +00:00
# - pip install poetry
2024-04-25 13:37:15 +00:00
- poetry config virtualenvs.create false
- poetry install
- poetry run pytest
- name: Python Code Lint
2024-04-25 13:51:37 +00:00
image: weastur/poetry:latest-python-3.12
2024-04-25 13:37:15 +00:00
commands:
2024-04-25 13:51:37 +00:00
# - pip install poetry
2024-04-25 13:37:15 +00:00
- poetry config virtualenvs.create false
- poetry install
- poetry run black .
- name: Static Type check
2024-04-25 13:51:37 +00:00
image: weastur/poetry:latest-python-3.12
2024-04-25 13:37:15 +00:00
commands:
2024-04-25 13:51:37 +00:00
# - pip install poetry
2024-04-25 13:37:15 +00:00
- poetry config virtualenvs.create false
- poetry install
- poetry run mypy .
- name: Deploy
2024-04-25 13:51:37 +00:00
image: weastur/poetry:latest-python-3.12
2024-04-25 13:37:15 +00:00
commands:
- echo "TODO"