From 9020e2d3c8cf3d2139028cf0eea794852c074938 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Tue, 21 Dec 2021 22:58:04 +0100 Subject: [PATCH] feat(ci): Added pipeline for tests Add all supported, meaning by flaschengeist, python versions. --- .woodpecker/test.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .woodpecker/test.yml diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml new file mode 100644 index 0000000..a446bc2 --- /dev/null +++ b/.woodpecker/test.yml @@ -0,0 +1,19 @@ +pipeline: + install: + image: python:${PYTHON}-alpine + commands: + - apk add mariadb-dev jpeg-dev + - python -m pip install --upgrade pip + - pip install -v ".[tests]" + test: + image: python:${PYTHON}-alpine + commands: + - pytest + + +matrix: + PYTHON: + - 3.10 + - 3.9 + - 3.8 + - 3.7