workflow.yaml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # Test Architect workflow: ci
  2. name: testarch-ci
  3. description: "Scaffold CI/CD quality pipeline with test execution, burn-in loops, and artifact collection"
  4. author: "BMad"
  5. # Critical variables from config
  6. config_source: "{project-root}/_bmad/bmm/config.yaml"
  7. output_folder: "{config_source}:output_folder"
  8. user_name: "{config_source}:user_name"
  9. communication_language: "{config_source}:communication_language"
  10. document_output_language: "{config_source}:document_output_language"
  11. date: system-generated
  12. # Workflow components
  13. installed_path: "{project-root}/_bmad/bmm/workflows/testarch/ci"
  14. instructions: "{installed_path}/instructions.md"
  15. validation: "{installed_path}/checklist.md"
  16. # Variables and inputs
  17. variables:
  18. ci_platform: "auto" # auto, github-actions, gitlab-ci, circle-ci, jenkins - user can override
  19. test_dir: "{project-root}/tests" # Root test directory
  20. # Output configuration
  21. default_output_file: "{project-root}/.github/workflows/test.yml" # GitHub Actions default
  22. # Required tools
  23. required_tools:
  24. - read_file # Read .nvmrc, package.json, framework config
  25. - write_file # Create CI config, scripts, documentation
  26. - create_directory # Create .github/workflows/ or .gitlab-ci/ directories
  27. - list_files # Detect existing CI configuration
  28. - search_repo # Find test files for selective testing
  29. tags:
  30. - qa
  31. - ci-cd
  32. - test-architect
  33. - pipeline
  34. - automation
  35. execution_hints:
  36. interactive: false # Minimize prompts, auto-detect when possible
  37. autonomous: true # Proceed without user input unless blocked
  38. iterative: true