habitmove/.woodpecker.yml
Marty Oehme d958956f8d
Add woodpecker ci file
Added basic continuous integration tests to run on any push.
2022-01-18 18:37:23 +01:00

23 lines
515 B
YAML

pipeline:
unit_tests:
image: mquade/poetry:3.9-1.1.11
commands:
- poetry config virtualenvs.create false
- poetry install
- pytest
code_lint:
image: mquade/poetry:3.9-1.1.11
commands:
- poetry config virtualenvs.create false
- poetry install
- pip install black
- black .
static_analysis:
image: mquade/poetry:3.9-1.1.11
commands:
- poetry config virtualenvs.create false
- poetry install
- pip install mypy
- mypy .