Add continuous integration

This commit is contained in:
Marty Oehme 2022-01-18 17:23:16 +01:00
parent b0f8c48e99
commit 6f293f845f
Signed by: Marty
GPG key ID: B7538B8F50A1C800

24
.woodpecker.yml Normal file
View file

@ -0,0 +1,24 @@
branches: master
pipeline:
before_script:
image: python:3.9
commands:
- pip install poetry
- poetry config virtualenvs.create false
- poetry install
unit_tests:
image: python:3.9
commands:
- poetry run pytest
code_lint:
image: python:3.9
commands:
- poetry run black .
static_analysis:
image: python:3.9
commands:
- poetry run mypy .