From d243e63ca5754f8b470acd991d1fd1a44b49e2a6 Mon Sep 17 00:00:00 2001 From: Michael Cho Date: Tue, 14 Jul 2026 16:12:04 -0400 Subject: [PATCH] test_bot/formulae: only run subset of `brew tests` for portable Ruby Currently tests fail on all runners (Tier 1 Linux and Tier 3 macOS). It is difficult to align the setups used between Homebrew/brew and Homebrew/core so can limit to basic sanity of the cask and formula tests. --- Library/Homebrew/test_bot/formulae.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/test_bot/formulae.rb b/Library/Homebrew/test_bot/formulae.rb index 5588a5dc98783..fbab1325dbf45 100644 --- a/Library/Homebrew/test_bot/formulae.rb +++ b/Library/Homebrew/test_bot/formulae.rb @@ -916,11 +916,11 @@ def portable_formula!(formula_name, args:) test "brew", "typecheck", "--update" # Run the checks that gate a Homebrew/brew pull request. - test "brew", "style" if %w[actionlint shellcheck shfmt].all? { |f| bottled?(Formulary.factory(f)) } + test "brew", "style" unless OS.not_tier_one_configuration? test "brew", "typecheck" test "brew", "install-bundler-gems", "--groups=all" test "brew", "vendor-gems", "--non-bundler-gems", "--no-commit" - test "brew", "tests", "--online", "--coverage" + test "brew", "tests", "--online", "--coverage", "--only=cask,formula" test "brew", "update-test" test "brew", "update-test", "--to-tag" test "brew", "update-test", "--commit=HEAD"