fix services tests

This commit is contained in:
Benjamin Labrecque
2026-07-31 10:53:23 +02:00
parent 544890ed19
commit 8c75d86ed1
+7 -5
View File
@@ -122,11 +122,13 @@ jobs:
for SERVICE in $SERVICES; do
SERVICE_APP_DIR="services/$SERVICE/current/app"
echo "=========================================="
echo "Running tests for: $SERVICE_APP_DIR"
echo "=========================================="
uv run --directory "$SERVICE_APP_DIR" pytest
if [ -d "$SERVICE_APP_DIR" ]; then
echo "=========================================="
echo "Running tests for: $SERVICE_APP_DIR"
echo "=========================================="
uv run --directory "$SERVICE_APP_DIR" pytest
fi
done
- name: Deploy Changed Services