Class: Homebrew::TestBot::Setup Private
This class is part of a private API. This class may only be used in the Homebrew/brew repository. Third parties should avoid using this class if possible, as it may be removed or changed without warning.
Instance Attribute Summary
Attributes inherited from Test
Instance Method Summary collapse
- #run!(args:) ⇒ Object private
Methods inherited from Test
Methods included from Utils::Output::Mixin
#odebug, #odeprecated, #odie, #odisabled, #ofail, #oh1, #oh1_title, #ohai, #ohai_title, #onoe, #opoo, #opoo_outside_github_actions, #pretty_duration, #pretty_installed, #pretty_outdated, #pretty_uninstalled
Instance Method Details
#run!(args:) ⇒ Object
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'test_bot/setup.rb', line 7 def run!(args:) test_header(:Setup) test "brew", "install-bundler-gems", "--add-groups=ast,audit,bottle,formula_test,livecheck,style" # Always output `brew config` output even when it doesn't fail. test "brew", "config", verbose: true if ENV["HOMEBREW_TEST_BOT_VERBOSE_DOCTOR"] test "brew", "doctor", "--debug", verbose: true else test "brew", "doctor" end end |