_cucumber/lib/options/run_tests_options.rb
#
# Should we wish to update GitHub statuses when running in Docker, this will set the required environment variables.
#
Should we wish to update GitHub statuses when running in Docker, this will set the required environment variables.
Should we wish to update GitHub statuses when running in Docker this will set the required environment variables .
def bind_github_status_environment_variables(use_docker, github_sha_1, test_profile)
    return unless use_docker && github_sha_1
    @logger.info("Enabling update of GitHub status for SHA1: '#{github_sha_1}'")
    bind_environment_variable('github_status_enabled', 'true')
    bind_environment_variable('github_status_sha1', github_sha_1)
    github_status_context = nil
    if test_profile == 'desktop'
      github_status_context = 'ruby-acceptance-tests'
    else
      github_status_context = 'ruby-mobile-acceptance-tests'
    end
    bind_environment_variable('github_status_context', github_status_context)
  end
def bind_github_status_environment_variables ( use_docker , github_sha_1 , test_profile ) return unless use_docker && github_sha_1 @logger . info ( "Enabling update of GitHub status for SHA1: '#{github_sha_1}'" ) bind_environment_variable ( 'github_status_enabled' , 'true' ) bind_environment_variable ( 'github_status_sha1' , github_sha_1 ) github_status_context = nil if test_profile == 'desktop' github_status_context = 'ruby-acceptance-tests' else github_status_context = 'ruby-mobile-acceptance-tests' end bind_environment_variable ( 'github_status_context' , github_status_context ) end
Should we wish to update GitHub statuses when running in Docker, this will set the required environment variables.
Should we wish to update GitHub statuses when running in Docker this will set the required environment variables .
use_docker
<not_specific>
github_sha_1
<not_specific>
test_profile
<not_specific>