1 Commits

Author SHA1 Message Date
Michele Dolfi
2b8b44fa40 chore: avoid installing multiple times dependencies
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
2025-10-31 17:59:40 +01:00

View File

@@ -160,13 +160,10 @@ jobs:
pip install uv pip install uv
uv venv --allow-existing uv venv --allow-existing
source .venv/bin/activate source .venv/bin/activate
uv sync --all-extras --no-extra flash-attn uv sync --only-dev
# Run pytest tests # Run pytest tests
echo "Running tests..." echo "Running tests..."
# Test import
python -c 'from docling_serve.app import create_app; create_app()'
# Run pytest and check result directly # Run pytest and check result directly
if ! pytest -sv -k "test_convert_url" tests/test_1-url-async.py \ if ! pytest -sv -k "test_convert_url" tests/test_1-url-async.py \
--disable-warnings; then --disable-warnings; then