diff --git a/Library/Homebrew/.simplecov b/Library/Homebrew/.simplecov index 96b1f3ec0e..38c7d530e1 100755 --- a/Library/Homebrew/.simplecov +++ b/Library/Homebrew/.simplecov @@ -50,8 +50,8 @@ SimpleCov.start do require "rbconfig" host_os = RbConfig::CONFIG["host_os"] - add_filter %r{^/os/mac/} if host_os !~ /darwin/ - add_filter %r{^/os/linux/} if host_os !~ /linux/ + add_filter %r{/os/mac} if host_os !~ /darwin/ + add_filter %r{/os/linux} if host_os !~ /linux/ # Add groups and the proper project name to the output. project_name "Homebrew" diff --git a/Library/Homebrew/test/.codecov.yml b/Library/Homebrew/test/.codecov.yml index 9c75dfe6a0..7ab7a77c6f 100644 --- a/Library/Homebrew/test/.codecov.yml +++ b/Library/Homebrew/test/.codecov.yml @@ -1,4 +1,8 @@ comment: off - fixes: - "::Library/Homebrew/" +coverage: + status: + project: + default: + threshold: 0.1