- Bootstrap script for creating monorepo projects - FastAPI backend templates with uv, ruff, mypy, pytest - React frontend templates with TypeScript, ESLint, Prettier - Docker Compose setup with backend, frontend, and database - 9 development and CI scripts - Gitea Actions CI/CD workflows - Comprehensive documentation (8 files) - 45 template files for complete project structure - Automated verification script (all tests pass) - Based on coding-agent-rules standards
23 lines
420 B
Bash
Executable File
23 lines
420 B
Bash
Executable File
#!/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!"
|