fix: geo-service Pakete einzeln installieren (rasterio braucht GDAL)
This commit is contained in:
@@ -187,8 +187,14 @@ steps:
|
|||||||
|
|
||||||
cd geo-service
|
cd geo-service
|
||||||
export PYTHONPATH="$(pwd):${PYTHONPATH:-}"
|
export PYTHONPATH="$(pwd):${PYTHONPATH:-}"
|
||||||
pip install --quiet --no-cache-dir -r requirements.txt 2>/dev/null || true
|
|
||||||
pip install --quiet --no-cache-dir structlog httpx fastapi uvicorn pydantic pytest pytest-json-report
|
# Pakete einzeln installieren - rasterio braucht GDAL und wird uebersprungen
|
||||||
|
while IFS= read -r line; do
|
||||||
|
pkg=$(echo "$line" | sed 's/#.*//' | xargs)
|
||||||
|
[ -z "$pkg" ] && continue
|
||||||
|
pip install --quiet --no-cache-dir "$pkg" 2>/dev/null || echo "WARNUNG: $pkg uebersprungen"
|
||||||
|
done < requirements.txt
|
||||||
|
pip install --quiet --no-cache-dir pytest pytest-json-report
|
||||||
|
|
||||||
set +e
|
set +e
|
||||||
python -m pytest tests/ -v --tb=short --json-report --json-report-file=../.ci-results/test-geo.json
|
python -m pytest tests/ -v --tb=short --json-report --json-report-file=../.ci-results/test-geo.json
|
||||||
|
|||||||
Reference in New Issue
Block a user