test-bot: don't run Homebrew tests for taps PRs.
Check the repository directly rather than @test_default_formula.
This commit is contained in:
parent
3d3a03f75a
commit
0f03506adc
@ -702,7 +702,7 @@ module Homebrew
|
|||||||
@category = __method__
|
@category = __method__
|
||||||
return if @skip_homebrew
|
return if @skip_homebrew
|
||||||
|
|
||||||
if @tap.nil? && (@test_default_formula || Array(@formulae).empty?)
|
if @tap.nil? && (@repository == HOMEBREW_REPOSITORY || Array(@formulae).empty?)
|
||||||
tests_args = ["--official-cmd-taps"]
|
tests_args = ["--official-cmd-taps"]
|
||||||
tests_args_no_compat = []
|
tests_args_no_compat = []
|
||||||
tests_args_no_compat << "--coverage" if ARGV.include?("--coverage")
|
tests_args_no_compat << "--coverage" if ARGV.include?("--coverage")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user