diff --git a/.github/workflows/test.yml b/.github/workflows/ci.yml similarity index 98% rename from .github/workflows/test.yml rename to .github/workflows/ci.yml index ab90d67..9706178 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: Run Tests +name: CI on: push: diff --git a/.github/workflows/generate-readme.yml b/.github/workflows/generate-readme.yml index 4c0787c..475b506 100644 --- a/.github/workflows/generate-readme.yml +++ b/.github/workflows/generate-readme.yml @@ -1,4 +1,4 @@ -name: Generate README +name: Auto-update README on: push: diff --git a/CLAUDE.md b/CLAUDE.md index 8e7040e..4ab9f68 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -19,7 +19,7 @@ This repository contains named Google Sheets formulas using LET and LAMBDA funct ``` named-functions/ -├── .github/workflows/*.yml # CI/CD: test.yml (quality gate), generate-readme.yml, claude.yml +├── .github/workflows/*.yml # CI/CD: ci.yml (quality gate), generate-readme.yml, claude.yml ├── formulas/*.yaml # Individual formula definitions ├── scripts/ # Python package with shared modules and scripts │ ├── __init__.py # Package marker @@ -88,8 +88,8 @@ git commit -m "Add/update YOUR_FORMULA" ### CI/CD -- **test.yml**: Primary quality gate (runs tests, linter, generator, verifies README up-to-date) -- **generate-readme.yml**: Auto-commits README on main, comments on PRs if stale +- **ci.yml**: Primary quality gate (runs Python/YAML linting, tests, formula linter, README generation, verification) +- **generate-readme.yml**: Auto-commits README on main, comments on PRs if stale (runs formula linter before generation) - **claude.yml**: Claude Code integration (restricted to git, uv, python commands) **Formula expansion failures block PR merges** - all formulas must be syntactically valid and fully expandable. diff --git a/tests/CLAUDE.md b/tests/CLAUDE.md index 8a3c460..0eca8bb 100644 --- a/tests/CLAUDE.md +++ b/tests/CLAUDE.md @@ -66,7 +66,7 @@ def test_feature_name(self): ## CI Integration -Tests run automatically on every push and PR via `.github/workflows/test.yml`: +Tests run automatically on every push and PR via `.github/workflows/ci.yml`: - Installs pytest, pyyaml, pyparsing - Runs pytest test suite - Runs linter on all formulas