Skip to content

[WORKFLOW] Create Testing & Debugging Workflow #4

@raegAI

Description

@raegAI

@claude Please create a new GitHub Actions workflow file .github/workflows/claude-test-debug.yml that:

Requirements:

  • Triggers after the main Claude Code workflow completes successfully
  • Sets up the Python environment with Poetry
  • Runs comprehensive testing including:
    • make test for unit tests
    • make lint for code quality
    • Example validation in examples/ directory
    • Integration tests if they exist
  • Captures all console output and errors
  • If tests fail, automatically debugs and attempts fixes
  • Creates a detailed test report with results
  • Updates the branch with any fixes made during debugging
  • Stores the final console output for documentation workflow

Key Features:

  • Use workflow_run trigger to activate after claude.yml completes
  • Run tests in isolated environment
  • Implement retry logic for failed tests
  • Capture detailed logging of all operations
  • Auto-fix common issues (imports, syntax, etc.)
  • Create test artifacts for later workflows

Output Requirements:

  • Generate test results summary
  • Save final console output to artifacts
  • Update PR/issue with test status
  • Tag issues/PRs appropriately based on test results

Please implement this workflow with proper error handling and comprehensive testing coverage.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions