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