Add Github Actions for verifying the workflows #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add CI/CD Pipeline for n8n Workflow Validation and Visualization
This PR introduces a comprehensive CI/CD pipeline for validating and visualizing n8n workflows. The implementation includes a Python package for workflow validation and visualization, along with GitHub Actions workflows for automated testing and reporting.
🚀 Features Added
1. n8n Workflow Validator (
n8n_utils.ci.validator)2. Workflow Visualizer (
n8n_utils.visualization.visualizer)3. GitHub Actions Workflow (
.github/workflows/validate-workflows.yml)4. CI Setup Script (
setup-ci.sh)🛠 How It Works
On every push or PR to main/master branches:
For Pull Requests:
🚦 Testing
Local Testing
source venv/bin/activateCI Testing
The GitHub Actions workflow will automatically run on push or PR. Check the "Actions" tab in your GitHub repository to see the results.
📦 Package Structure
📝 Notes
🔄 Future Improvements
🔗 Related Issues
📋 Checklist
📸 Screenshots
Screenshots of the visualization output can be found in the workflow artifacts.
Let me know if you'd like any adjustments to this PR description or if you have any questions about the implementation!