From 4766cff12c60459d088eda80b05eaf0d27d9897c Mon Sep 17 00:00:00 2001 From: ff137 Date: Thu, 12 Dec 2024 14:31:25 +0200 Subject: [PATCH] :art: Change workdir name, since it clashes with omitting /tests/ dir in coverage report --- dockerfiles/tests/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dockerfiles/tests/Dockerfile b/dockerfiles/tests/Dockerfile index ea422f4c7..e0159ebc1 100644 --- a/dockerfiles/tests/Dockerfile +++ b/dockerfiles/tests/Dockerfile @@ -1,6 +1,6 @@ FROM python:3.12-slim -WORKDIR /tests +WORKDIR /cloudapi-tests # Copy the pyproject.toml for each submodule COPY app/pyproject.toml app/ @@ -21,7 +21,7 @@ RUN pip install --no-cache-dir poetry==${POETRY_VERSION} ENV POETRY_VIRTUALENVS_CREATE=false ARG MODULES="app endorser trustregistry waypoint" RUN for module in ${MODULES}; do \ - cd /tests/$module && poetry install; \ + cd /cloudapi-tests/$module && poetry install; \ done COPY . .