#!/bin/bash # Backend CI test script set -e cd "$(dirname "$0")/../../backend" echo "Installing dependencies..." uv sync uv pip install --system -e ".[dev]" echo "Running linter..." uv run ruff check app tests echo "Running type checker..." uv run mypy app echo "Running tests with coverage..." uv run pytest --cov=app --cov-report=term-missing --cov-report=xml --cov-fail-under=100 echo "Backend tests passed!"