forked from ddnexus/pagy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.simplecov
32 lines (29 loc) · 1.38 KB
/
.simplecov
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# frozen_string_literal: true
SimpleCov.formatter = if ENV['COVERAGE_REPORT'] == 'true'
SimpleCov::Formatter::HTMLFormatter
else
SimpleCov::Formatter::SimpleFormatter
end
SimpleCov.start do
command_name "Task##{$PROCESS_ID}" # best way to get a different id for the specific task
merge_timeout 60
enable_coverage :branch
add_group 'All Extras', %w[gem/lib/pagy/extras]
add_group 'Core', %w[gem/lib/pagy.rb
gem/lib/pagy/backend.rb
gem/lib/pagy/console.rb
gem/lib/pagy/countless.rb
gem/lib/pagy/exceptions.rb
gem/lib/pagy/frontend.rb
gem/lib/pagy/i18n.rb
gem/lib/pagy/url_helpers.rb]
add_group 'Countless', %w[gem/lib/pagy/countless.rb
gem/lib/pagy/extras/countless.rb]
add_group 'Calendar', %w[gem/lib/pagy/extras/calendar.rb
gem/lib/pagy/calendar]
add_group 'Tests', %w[test]
add_filter %w[gem/lib/pagy/extras/foundation.rb
gem/lib/pagy/extras/materialize.rb
gem/lib/pagy/extras/semantic.rb
gem/lib/pagy/extras/uikit.rb]
end