test-bot: don't run Homebrew tests for taps PRs.

Check the repository directly rather than @test_default_formula.
This commit is contained in:
Mike McQuaid 2016-09-13 10:36:20 +01:00
parent 3d3a03f75a
commit 0f03506adc

View File

@ -702,7 +702,7 @@ module Homebrew
@category = __method__
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_no_compat = []
tests_args_no_compat << "--coverage" if ARGV.include?("--coverage")