frappe-testing-cicd

Generate GitHub Actions workflows for Frappe app CI/CD test matrices.

163|53|Updated Jan 14, 2026
One-click install
npx skills add https://github.com/Impertio-Studio/Frappe_Claude_Skill_Package --skill frappe-testing-cicd-impertio-studio
Or copy as Structured Prompt for Agentā–¼
Please help me install this Agent Skill.
Skill: frappe-testing-cicd
Source: https://github.com/Impertio-Studio/Frappe_Claude_Skill_Package/tree/main/skills/source/testing/frappe-testing-cicd
Command: npx skills add https://github.com/Impertio-Studio/Frappe_Claude_Skill_Package --skill frappe-testing-cicd-impertio-studio

SYSTEM DOCUMENTATION & REQUIREMENTS

šŸ’” This Skill includes references (resource) components.

What problem does it solve?

This Skill prevents Frappe app CI/CD pipelines from failing in production by enforcing a correct, production-grade GitHub Actions test setup with the required services and quality gates.

Core Features & Use Cases

  • Correct CI environment provisioning: Ensures GitHub Actions includes MariaDB/Redis (and optional PostgreSQL) with working health checks and matching bench configuration.
  • Deterministic test execution: Generates a standard bench-based test flow for creating a site, installing the app, building assets, and running scoped app tests in CI (including parallel test options).
  • Quality and security enforcement: Integrates pre-commit, ruff lint/format, eslint checks for JS/Vue, and Semgrep security scanning with Frappe-specific rules.
  • Use case: When you open a pull request for a Frappe app, this Skill helps configure a test matrix (Python/DB), so your PR reliably runs the right setup and catches lint/security issues before merge.

Quick Start

Ask your AI to configure a GitHub Actions workflow that runs Frappe app server tests on a Python version test matrix with MariaDB + Redis health-checked services, includes pre-commit, ruff/ESLint checks, and adds a Semgrep security scan step.

Frequently Asked Questions about frappe-testing-cicd

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up GitHub Actions for a Frappe app with MariaDB and Redis?ā–¼

Setting up GitHub Actions for a Frappe app requires provisioning MariaDB and Redis services with working health checks and matching bench configuration. This generates a deterministic test flow to create a site, install the app, build assets, and run scoped tests.

How do I configure a Python version test matrix for Frappe bench tests in CI?ā–¼

Configuring a Python version test matrix for Frappe bench tests involves defining the Python and database versions in your GitHub Actions workflow. This ensures your pull requests reliably run the correct bench setup and catch issues across multiple environment combinations before merge.

What quality gates should a Frappe CI/CD pipeline include?ā–¼

A Frappe CI/CD pipeline should include pre-commit, ruff lint and format checks, and ESLint checks for JS and Vue files. Adding Semgrep security scanning with Frappe-specific rules further enforces quality by catching anti-patterns before code is merged.

Can I run parallel test builds for Frappe apps in GitHub Actions?ā–¼

Yes, you can run parallel test builds for Frappe apps in GitHub Actions. The CI setup generates a standard bench-based test flow that supports parallel test options, allowing you to execute scoped app tests deterministically across your configured test matrix.

Does Frappe CI testing support PostgreSQL alongside MariaDB?ā–¼

Frappe CI testing supports optional PostgreSQL services alongside the required MariaDB and Redis. When configuring your GitHub Actions workflow, you can include PostgreSQL provisioning with health checks to test your Frappe app against multiple database backends.

Why are my Frappe bench tests failing in GitHub Actions CI?ā–¼

Frappe bench tests often fail in GitHub Actions CI due to missing service health checks or incorrect bench configuration for MariaDB and Redis. Ensuring health-checked services and a deterministic test flow for site creation and app installation prevents broken pipelines.