Merge pull request #4548 from MikeMcQuaid/coverage-tweaks
Tweak code coverage logic
This commit is contained in:
		
						commit
						b74974611c
					
				@ -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"
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,8 @@
 | 
			
		||||
comment: off
 | 
			
		||||
 | 
			
		||||
fixes:
 | 
			
		||||
  - "::Library/Homebrew/"
 | 
			
		||||
coverage:
 | 
			
		||||
  status:
 | 
			
		||||
    project:
 | 
			
		||||
    default:
 | 
			
		||||
        threshold: 0.1
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user