Files
project-bootstrap/templates/.gitea/workflows/backend-ci.yml
Bill 8dd4f0ca63 Initial commit: Complete project-bootstrap tool
- 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
2025-10-15 21:34:08 -04:00

40 lines
850 B
YAML

name: Backend CI
on:
push:
branches: [main, master, develop]
paths:
- 'backend/**'
- 'scripts/ci/backend-test.sh'
- '.gitea/workflows/backend-ci.yml'
pull_request:
branches: [main, master, develop]
paths:
- 'backend/**'
- 'scripts/ci/backend-test.sh'
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install uv
run: pip install uv
- name: Run backend tests
run: bash scripts/ci/backend-test.sh
- name: Upload coverage reports
uses: codecov/codecov-action@v3
with:
files: ./backend/coverage.xml
flags: backend