mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-17 00:07:24 +00:00
We will almost certainly *never* invest the required amount of dev time to cover all this non-critical code with tests, so we may as well drop it from the report.
21 lines
454 B
Ruby
21 lines
454 B
Ruby
#!/bin/env ruby
|
|
|
|
SimpleCov.start 'rails' do
|
|
add_filter '/bin/'
|
|
add_filter '/config/'
|
|
add_filter '/jobs/application_job.rb'
|
|
add_filter '/schemas/'
|
|
add_filter '/lib/generators'
|
|
add_filter '/spec/'
|
|
add_filter '/vendor/'
|
|
add_filter '/public'
|
|
add_filter '/swagger'
|
|
add_filter '/script'
|
|
add_filter '/log'
|
|
add_filter '/db'
|
|
add_filter '/lib/tasks/sample_data/'
|
|
end
|
|
|
|
require 'codecov'
|
|
SimpleCov.formatter = SimpleCov::Formatter::Codecov
|