From d958956f8da8ead5171dc908e724f0b3d989d1e3 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Tue, 18 Jan 2022 18:08:24 +0100 Subject: [PATCH] Add woodpecker ci file Added basic continuous integration tests to run on any push. --- .woodpecker.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .woodpecker.yml diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..dc9be07 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,23 @@ +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 .