Skip to content

Commit 9fd4e81

Browse files
authored
Merge pull request #23113 from Homebrew/test_bot-restrict-portable-ruby-tests
test_bot/formulae: only run subset of `brew tests` for portable Ruby
2 parents 945b48c + d243e63 commit 9fd4e81

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Library/Homebrew/test_bot/formulae.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -916,11 +916,11 @@ def portable_formula!(formula_name, args:)
916916
test "brew", "typecheck", "--update"
917917

918918
# Run the checks that gate a Homebrew/brew pull request.
919-
test "brew", "style" if %w[actionlint shellcheck shfmt].all? { |f| bottled?(Formulary.factory(f)) }
919+
test "brew", "style" unless OS.not_tier_one_configuration?
920920
test "brew", "typecheck"
921921
test "brew", "install-bundler-gems", "--groups=all"
922922
test "brew", "vendor-gems", "--non-bundler-gems", "--no-commit"
923-
test "brew", "tests", "--online", "--coverage"
923+
test "brew", "tests", "--online", "--coverage", "--only=cask,formula"
924924
test "brew", "update-test"
925925
test "brew", "update-test", "--to-tag"
926926
test "brew", "update-test", "--commit=HEAD"

0 commit comments

Comments
 (0)