Skip to content

Commit

Permalink
Merge pull request #160 from jamshale/fix-oidvci-integration-test
Browse files Browse the repository at this point in the history
Fix integration test config
  • Loading branch information
jamshale authored Apr 22, 2024
2 parents 3cb36a0 + a01a0d5 commit 2073ee3
Show file tree
Hide file tree
Showing 4 changed files with 291 additions and 272 deletions.
11 changes: 5 additions & 6 deletions oid4vci/integration/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.9-slim-bookworm AS base
FROM python:3.10-slim-bullseye AS base
WORKDIR /usr/src/app

ENV POETRY_VERSION=1.5.0
Expand All @@ -10,11 +10,10 @@ ENV PATH="/opt/poetry/bin:$PATH"
RUN poetry config virtualenvs.in-project true

# Setup project
RUN mkdir oid4vci_client && touch oid4vci_client/__init__.py
COPY pyproject.toml poetry.lock README.md ./
RUN poetry install
RUN poetry install --only main

COPY oid4vci_client/ oid4vci_client/
COPY tests/ tests/
# add tests to image
COPY tests/* tests/

ENTRYPOINT ["poetry", "run", "pytest"]
ENTRYPOINT ["poetry", "run", "pytest"]
Loading

0 comments on commit 2073ee3

Please sign in to comment.