Class: GithubGenerator

Inherits:
Generator
  • Object
show all
Defined in:
lib/generators/infrastructure/github_generator.rb

Instance Method Summary collapse

Methods inherited from Generator

#android?, #args, #axe?, #capybara?, #cross_platform?, #cucumber?, #ios?, #minitest?, #mobile?, #rspec?, #selenium?, #selenium_based?, #single_platform?, source_paths, #visual?, #watir?, #web?

Methods included from TemplateRenderer

included, #partial

Instance Method Details

#generate_actions_fileObject



6
7
8
9
10
# File 'lib/generators/infrastructure/github_generator.rb', line 6

def generate_actions_file
  return unless web?

  template('github.tt', "#{name}/.github/workflows/test_pipeline.yml")
end

#generate_appium_pipelineObject



12
13
14
15
16
# File 'lib/generators/infrastructure/github_generator.rb', line 12

def generate_appium_pipeline
  return unless mobile?

  template('github_appium.tt', "#{name}/.github/workflows/appium_pipeline.yml")
end