# CI CD Setup

> Sets up CI/CD pipelines for testing using GitHub Actions. Use for automating test runs, builds, and deployments to QA environments.

- Skill: `tomevault-io/ci-cd-setup` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/ci-cd-setup`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/ci-cd-setup/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/ci-cd-setup

---

# CI/CD Setup

> Automated testing pipelines with GitHub Actions.

## 🚀 Quick Start
```yaml
# .github/workflows/qa-tests.yml
name: QA Tests
on: [push, pull_request]
jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-python@v5
      - run: pip install pytest
      - run: pytest
```

## 📋 When to Use
- ✅ Automating test execution
- ✅ Building and deploying to QA environments
- ❌ Not for production deployments (use dedicated CD)

## 🔧 Step-by-Step Instructions
1. Create `.github/workflows/` folder in repo root
2. Write YAML pipeline with setup and test steps
3. Add PostgreSQL, Allure setup if needed
4. Commit and push - pipeline runs automatically

## 📦 Dependencies
```bash
# GitHub Actions (built-in)
# No installation needed
```

## 🧪 Examples
Input: Push to main branch
Output: Tests run automatically, results in GitHub UI

## 🔗 Resources
- [GitHub Actions Docs](https://docs.github.com/en/actions)
- [Examples](./examples/)

## ✅ Validation
1. Pipeline passes on push to branch
2. Tests run correctly, results visible
3. No YAML configuration errors

---
> Source: [ssrjkk/claude-skills](https://github.com/ssrjkk/claude-skills) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-05-22 -->

