- Add complete SDLC document management system (35,000+ words) - Add GitHub integration workflows (3 workflows) - Add intelligent alert system with 6 rules - Add setup automation scripts - Add document templates for all phases - Support both GitHub native and custom platform approaches Features: - Document lifecycle management - Progress tracking and visualization - Smart alert engine - GitHub Projects integration - Claude Code deep integration - Automated workflows Documentation: - docs/workflows/document-management-system.md - docs/workflows/custom-platform-design.md - docs/workflows/alert-rules-config.md - IMPLEMENTATION-GUIDE.md - DOCUMENT-MANAGEMENT-SUMMARY.md 🤖 Generated with Claude Code Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
91 lines
2.1 KiB
YAML
91 lines
2.1 KiB
YAML
name: CI - Continuous Integration
|
|
|
|
on:
|
|
push:
|
|
branches: [ main, develop ]
|
|
pull_request:
|
|
branches: [ main, develop ]
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
test:
|
|
name: Run Tests
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.11'
|
|
cache: 'pip'
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install -r requirements.txt
|
|
pip install pytest pytest-cov black flake8 mypy
|
|
|
|
- name: Run linting
|
|
run: |
|
|
echo "Running Black..."
|
|
black --check .
|
|
echo "Running Flake8..."
|
|
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
|
|
|
|
- name: Run type checking
|
|
run: |
|
|
mypy src/ --ignore-missing-imports
|
|
|
|
- name: Run tests with coverage
|
|
run: |
|
|
pytest tests/ --cov=src --cov-report=xml --cov-report=html
|
|
|
|
- name: Upload coverage reports
|
|
uses: codecov/codecov-action@v4
|
|
with:
|
|
file: ./coverage.xml
|
|
fail_ci_if_error: false
|
|
|
|
build:
|
|
name: Build and Verify
|
|
runs-on: ubuntu-latest
|
|
needs: test
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Build application
|
|
run: |
|
|
echo "Building application..."
|
|
# Add your build commands here
|
|
|
|
- name: Verify build artifacts
|
|
run: |
|
|
echo "Verifying build..."
|
|
# Add verification commands here
|
|
|
|
security:
|
|
name: Security Scan
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Run security scan
|
|
uses: aquasecurity/trivy-action@master
|
|
with:
|
|
scan-type: 'fs'
|
|
scan-ref: '.'
|
|
format: 'sarif'
|
|
output: 'trivy-results.sarif'
|
|
|
|
- name: Upload security results
|
|
uses: github/codeql-action/upload-sarif@v3
|
|
with:
|
|
sarif_file: 'trivy-results.sarif'
|