mirror of
https://github.com/docling-project/docling-serve.git
synced 2025-11-29 00:23:36 +00:00
chore: avoid installing multiple times dependencies (#429)
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
5
.github/workflows/job-image.yml
vendored
5
.github/workflows/job-image.yml
vendored
@@ -160,13 +160,10 @@ jobs:
|
||||
pip install uv
|
||||
uv venv --allow-existing
|
||||
source .venv/bin/activate
|
||||
uv sync --all-extras --no-extra flash-attn
|
||||
uv sync --only-dev
|
||||
|
||||
# Run pytest tests
|
||||
echo "Running tests..."
|
||||
# Test import
|
||||
python -c 'from docling_serve.app import create_app; create_app()'
|
||||
|
||||
# Run pytest and check result directly
|
||||
if ! pytest -sv -k "test_convert_url" tests/test_1-url-async.py \
|
||||
--disable-warnings; then
|
||||
|
||||
@@ -69,6 +69,9 @@ flash-attn = [
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"asgi-lifespan~=2.0",
|
||||
"httpx",
|
||||
"pydantic",
|
||||
"pydantic-settings",
|
||||
"mypy~=1.11",
|
||||
"pre-commit-uv~=4.1",
|
||||
"pypdf>=6.0.0",
|
||||
|
||||
Reference in New Issue
Block a user