fix: install Starlette test client transport
Verify and deploy poster studio service / verify-deploy (push) Failing after 1m58s
Verify and deploy poster studio service / verify-deploy (push) Failing after 1m58s
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ WORKDIR /app
|
|||||||
COPY pyproject.toml ./
|
COPY pyproject.toml ./
|
||||||
COPY src ./src
|
COPY src ./src
|
||||||
FROM base AS test
|
FROM base AS test
|
||||||
RUN pip install . pytest ruff
|
RUN pip install . pytest ruff httpx2
|
||||||
COPY tests ./tests
|
COPY tests ./tests
|
||||||
RUN ruff check src tests && pytest -q
|
RUN ruff check src tests && pytest -q
|
||||||
FROM base AS runtime
|
FROM base AS runtime
|
||||||
|
|||||||
@@ -12,6 +12,9 @@ dependencies = [
|
|||||||
"python-multipart>=0.0.20,<1", "pillow>=11,<13"
|
"python-multipart>=0.0.20,<1", "pillow>=11,<13"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[project.optional-dependencies]
|
||||||
|
test = ["pytest>=9,<10", "ruff>=0.16,<1", "httpx2>=0.1,<1"]
|
||||||
|
|
||||||
[tool.setuptools.packages.find]
|
[tool.setuptools.packages.find]
|
||||||
where = ["src"]
|
where = ["src"]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user