From 701c5649c78b18c211f0722e9b1d84ad82be6dd8 Mon Sep 17 00:00:00 2001 From: tobjend Date: Wed, 1 Jul 2026 13:20:56 +0200 Subject: [PATCH] use pre-built dervish-ci image with pytest; no pip install in pipeline --- .woodpecker.yml | 5 +++-- Dockerfile.ci | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 Dockerfile.ci diff --git a/.woodpecker.yml b/.woodpecker.yml index e2e62f4..731cc8b 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -3,7 +3,8 @@ when: steps: test: - image: python:3.11-slim + image: forgejo.corentic.eu/tobi/dervish-ci:latest + environment: + PYTHONPATH: . commands: - - pip install --no-cache-dir --editable . pytest - python -m pytest tests/ -v diff --git a/Dockerfile.ci b/Dockerfile.ci new file mode 100644 index 0000000..33d86be --- /dev/null +++ b/Dockerfile.ci @@ -0,0 +1,2 @@ +FROM python:3.11-slim +RUN pip install --no-cache-dir pytest