#!/usr/bin/env bash set -euo pipefail echo "=== Installing dependencies ===" pip install -e shared/ pip install pytest pytest-asyncio ruff echo "=== Linting ===" ruff check . ruff format --check . echo "=== Running tests ===" pytest -v echo "=== Building Docker images ===" if command -v docker &> /dev/null; then docker compose build --quiet 2>&1 || echo "WARNING: Docker build failed (Docker may not be available in CI)" else echo "SKIP: Docker not available" fi echo "=== All checks passed ==="