Skip to content

Commit

Permalink
🎨 Change workdir name, since it clashes with omitting /tests/ dir in …
Browse files Browse the repository at this point in the history
…coverage report
  • Loading branch information
ff137 committed Dec 12, 2024
1 parent 11c6ded commit 2314003
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dockerfiles/tests/Dockerfile
Original file line number Diff line number Diff line change
@@ -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/
Expand All @@ -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 . .
Expand Down

0 comments on commit 2314003

Please sign in to comment.