frappe-ci-expert

Configure GitHub Actions workflows for Frappe app CI pipelines.

1|Updated Jan 16, 2025
One-click install
npx skills add https://github.com/kehwar/frappe_tweaks --skill frappe-ci-expert
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frappe-ci-expert
Source: https://github.com/kehwar/frappe_tweaks/tree/main/.github/skills/frappe-ci-expert
Command: npx skills add https://github.com/kehwar/frappe_tweaks --skill frappe-ci-expert

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Provides expert guidance to design and implement CI/CD tests for Frappe apps, enabling repeatable, automated validation across CI environments.

Core Features & Use Cases

Covers configuring GitHub Actions workflows, provisioning database services (MariaDB or PostgreSQL), installing dependencies, setting up bench, creating test sites, and running server or UI tests, with debugging steps and best practices for reliable CI.

Quick Start

Configure a GitHub Actions workflow to initialize bench, provision databases, install dependencies, and run tests for your Frappe app.

Frequently Asked Questions about frappe-ci-expert

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

FAQPage Schema
How do I set up GitHub Actions for Frappe apps to run automated tests?

Configuring GitHub Actions for Frappe apps involves defining workflow templates that provision database services like MariaDB or PostgreSQL, install dependencies, initialize bench, and execute automated server or UI tests for repeatable validation.

What is the best way to configure a CI pipeline for ERPNext projects?

The best way to configure a CI pipeline for ERPNext projects is to use standardized workflow templates that handle database service provisioning, bench initialization, and automated test execution to ensure reliable, repeatable builds across environments.

Why does my Frappe bench initialization fail in GitHub Actions CI?

Frisse bench initialization fails in CI when database services are not properly provisioned or dependency installation steps are incomplete. Debugging requires verifying MariaDB or PostgreSQL service definitions and ensuring bench setup steps execute correctly before tests run.

Can I run both MariaDB and PostgreSQL in Frappe CI workflows?

Yes, you can run both MariaDB and PostgreSQL in Frappe CI workflows by configuring separate database service definitions within your GitHub Actions setup, allowing you to validate Frappe apps against multiple database backends during automated testing.

What steps are needed to provision databases and bench for Frappe automated testing?

Provisioning databases and bench for Frappe automated testing requires defining database services in your CI workflow, installing project dependencies, executing bench initialization commands, and creating test sites before running server or UI tests.