Coding & Engineering

Python Project CI/CD Pipeline

Comprehensive template for designing and implementing robust CI/CD pipelines for Python-based systems using GitHub Actions. Includes quality gates, security scanning, multi-version testing matrices, and artifact management for reproducible, traceable builds.

Prompt

---

## Example Usage

### Input

We're building a FastAPI microservice API with PostgreSQL. Need to support Python 3.11 and 3.12. We have async tests with pytest-asyncio. Want 85% coverage minimum, strict type checking, and SOC 2 compliance for security scanning. Using GitHub Actions.

### Output

**GitHub Actions Workflow (.github/workflows/ci.yml)**