# ✅ CI Updated to Use uv

## Updated File
`.GitHub/ci.yaml` → Completely modernized to use uv

## Key Changes

### Before (pip-based)
```yaml
- name: Install dependencies
  run: |
    python -m pip install --upgrade pip
    pip install -e ".[dev]"
- name: Run tests
  run: pytest tests/
```

### After (uv-based)
```yaml
- name: Install uv
  uses: astral-sh/setup-uv@v4
  with:
    enable-cache: true
    cache-dependency-glob: "uv.lock"
    
- name: Set up Python
  run: uv python install ${{ matrix.python-version }}
  
- name: Install dependencies
  run: uv sync --dev
  
- name: Run tests
  run: uv run pytest tests/
```

## Benefits

1. **10-100x faster** than pip for dependency resolution and installation
2. **Built-in caching** via uv.lock checksum
3. **Reproducible builds** - same uv.lock used locally and in CI
4. **Native Python management** - no need for actions/setup-python
5. **Consistent tooling** - same commands work locally and in CI

## Jobs

### Test Job
- Runs on Python 3.11 and 3.12 (matrix)
- Executes: linting, type checking, unit tests, integration tests
- All commands prefixed with `uv run`

### Lint Job
- Runs on Python 3.11
- Checks code formatting and linting
- Uses `uv run ruff`

## Documentation Updated
- ✅ README.md - Added CI/CD section
- ✅ PROJECT.md - Added CI/CD subsection under Testing
- ✅ Fixed coverage command: `--cov=deliberate` (was `--cov=llm_deliberate`)
