您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

workflow.yaml 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # Test Architect workflow: bmad-testarch-ci
  2. name: bmad-testarch-ci
  3. # prettier-ignore
  4. description: 'Scaffold CI/CD quality pipeline with test execution. Use when the user says "lets setup CI pipeline" or "I want to create quality gates"'
  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: "."
  15. instructions: "./instructions.md"
  16. validation: "./checklist.md"
  17. # Variables and inputs
  18. variables:
  19. ci_platform: "auto" # auto, github-actions, gitlab-ci, circle-ci, jenkins, azure-devops, harness - user can override
  20. test_dir: "{project-root}/tests" # Root test directory
  21. test_stack_type: "auto" # auto, frontend, backend, fullstack - detected or user override
  22. test_framework: "auto" # auto, playwright, cypress, jest, vitest - detected or user override
  23. # Output configuration (resolved dynamically based on ci_platform detection)
  24. default_output_file: "{project-root}/.github/workflows/test.yml" # GitHub Actions default; overridden per platform
  25. # Required tools
  26. required_tools:
  27. - read_file # Read .nvmrc, package.json, framework config
  28. - write_file # Create CI config, scripts, documentation
  29. - create_directory # Create .github/workflows/ or .gitlab-ci/ directories
  30. - list_files # Detect existing CI configuration
  31. - search_repo # Find test files for selective testing
  32. tags:
  33. - qa
  34. - ci-cd
  35. - test-architect
  36. - pipeline
  37. - automation
  38. execution_hints:
  39. interactive: false # Minimize prompts, auto-detect when possible
  40. autonomous: true # Proceed without user input unless blocked
  41. iterative: true