workflow.yaml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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/tea/config.yaml"
  7. output_folder: "{config_source}:output_folder"
  8. test_artifacts: "{config_source}:test_artifacts"
  9. user_name: "{config_source}:user_name"
  10. communication_language: "{config_source}:communication_language"
  11. document_output_language: "{config_source}:document_output_language"
  12. date: system-generated
  13. # Workflow components
  14. installed_path: "{project-root}/_bmad/tea/workflows/testarch/ci"
  15. instructions: "{installed_path}/instructions.md"
  16. validation: "{installed_path}/checklist.md"
  17. # Variables and inputs
  18. variables:
  19. ci_platform: "auto" # auto, github-actions, gitlab-ci, circle-ci, jenkins - user can override
  20. test_dir: "{project-root}/tests" # Root test directory
  21. # Output configuration
  22. default_output_file: "{project-root}/.github/workflows/test.yml" # GitHub Actions default
  23. # Required tools
  24. required_tools:
  25. - read_file # Read .nvmrc, package.json, framework config
  26. - write_file # Create CI config, scripts, documentation
  27. - create_directory # Create .github/workflows/ or .gitlab-ci/ directories
  28. - list_files # Detect existing CI configuration
  29. - search_repo # Find test files for selective testing
  30. tags:
  31. - qa
  32. - ci-cd
  33. - test-architect
  34. - pipeline
  35. - automation
  36. execution_hints:
  37. interactive: false # Minimize prompts, auto-detect when possible
  38. autonomous: true # Proceed without user input unless blocked
  39. iterative: true