Merge pull request #4548 from MikeMcQuaid/coverage-tweaks

Tweak code coverage logic
This commit is contained in:
Mike McQuaid 2018-07-26 10:21:46 +01:00 committed by GitHub
commit b74974611c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 3 deletions

View File

@ -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"

View File

@ -1,4 +1,8 @@
comment: off
fixes:
- "::Library/Homebrew/"
coverage:
status:
project:
default:
threshold: 0.1