Skip to content
Snippets Groups Projects
Commit 1feda750 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

test-bot: don't run brew tests etc. when formulae.

If there's formulae changes or the specified argument is a formula then
don't waste time running e.g. `brew tests`.
parent 9fd97dd3
No related branches found
No related tags found
No related merge requests found
......@@ -649,7 +649,7 @@ module Homebrew
@category = __method__
return if @skip_homebrew
if @tap.nil?
if @tap.nil? && Array(@formulae).empty?
tests_args = ["--official-cmd-taps"]
tests_args_no_compat = []
tests_args_no_compat << "--coverage" if ARGV.include?("--coverage")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment