-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.simplecov
More file actions
25 lines (23 loc) · 978 Bytes
/
.simplecov
File metadata and controls
25 lines (23 loc) · 978 Bytes
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
# kettle-jem:freeze
# To retain chunks of comments & code during tree_haver templating:
# Wrap custom sections with freeze markers (e.g., as above and below this comment chunk).
# tree_haver will then preserve content between those markers across template runs.
# kettle-jem:unfreeze
require "kettle/soup/cover/config"
# Minimum coverage thresholds are set by kettle-soup-cover.
# They are controlled by ENV variables loaded by `mise` from `mise.toml`
# (with optional machine-local overrides in `.env.local`).
# If the values for minimum coverage need to change, they should be changed both there,
# and in 2 places in .github/workflows/coverage.yml.
SimpleCov.start do
track_files "lib/**/*.rb"
track_files "lib/**/*.rake"
track_files "exe/*.rb"
# Exclude test/spec files from coverage tracking
add_filter "/examples/"
add_filter "/gemfiles/"
add_filter "/spec/"
add_filter "/spec_matrix/"
add_filter "/vendor/"
add_filter "/lib/tree_haver/rspec/"
end