0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-22 09:20:29 +01:00

Exclude gems from simplecov

Dieser Commit ist enthalten in:
angusmcleod 2021-05-17 19:57:09 +12:00
Ursprung 6cb5d62a7a
Commit 0c4eb02038

Datei anzeigen

@ -6,7 +6,7 @@ if ENV['SIMPLECOV']
SimpleCov.start do SimpleCov.start do
root "plugins/discourse-custom-wizard" root "plugins/discourse-custom-wizard"
track_files "plugins/discourse-custom-wizard/**/*.rb" track_files "plugins/discourse-custom-wizard/**/*.rb"
add_filter { |src| src.filename =~ /(\/spec\/|\/db\/|plugin\.rb|api)/ } add_filter { |src| src.filename =~ /(\/spec\/|\/db\/|plugin\.rb|api|gems)/ }
SimpleCov.minimum_coverage 80 SimpleCov.minimum_coverage 80
end end
end end