blob: 45296a09b37cb83412ff84c1a293164f6a4cbb8f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/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 ==="
|