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