Add continuous integration

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

25
.woodpecker.yml Normal file
View file

@ -0,0 +1,25 @@
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 .