From 660e8e418af1331ca440946ae7d1618b1a05e8a7 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Tue, 18 Jan 2022 18:08:24 +0100 Subject: [PATCH] Add woodpecker file --- .woodpecker.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .woodpecker.yml diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..7be3b05 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,22 @@ +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 .