34 lines
634 B
YAML
34 lines
634 B
YAML
|
kind: pipeline
|
||
|
type: docker
|
||
|
name: default
|
||
|
|
||
|
steps:
|
||
|
- name: Unit Tests
|
||
|
image: python:3.12
|
||
|
commands:
|
||
|
- pip install poetry
|
||
|
- poetry config virtualenvs.create false
|
||
|
- poetry install
|
||
|
- poetry run pytest
|
||
|
|
||
|
- name: Python Code Lint
|
||
|
image: python:3.12
|
||
|
commands:
|
||
|
- pip install poetry
|
||
|
- poetry config virtualenvs.create false
|
||
|
- poetry install
|
||
|
- poetry run black .
|
||
|
|
||
|
- name: Static Type check
|
||
|
image: python:3.12
|
||
|
commands:
|
||
|
- pip install poetry
|
||
|
- poetry config virtualenvs.create false
|
||
|
- poetry install
|
||
|
- poetry run mypy .
|
||
|
|
||
|
- name: Deploy
|
||
|
image: python:3.12
|
||
|
commands:
|
||
|
- echo "TODO"
|