-
Notifications
You must be signed in to change notification settings - Fork 224
Expand file tree
/
Copy pathcodecov.yml
More file actions
31 lines (28 loc) · 1.08 KB
/
codecov.yml
File metadata and controls
31 lines (28 loc) · 1.08 KB
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
# Configure codecov.
# https://docs.codecov.io/docs/codecov-yaml
# NOTE: If you change the codecov configuration here (used on the website),
# you may also need to change the SimpleCov configuration as managed via
# test/test_helper.rb.
ignore:
# These files aren't run in production, and any defects can be addressed
# during the development process, so ignore test coverage for them:
- "lib/baseline_*.rb"
# If Codecov fails to find "previous" commit to compare to, consider it
# a success. This has its own problems and is not ideal. However,
# without this, recovering from previous test failures
# can be painful & misleading. Per:
# https://github.com/codecov/support/issues/173
coverage:
status:
project:
default:
target: auto # this is default
if_not_found: success # no commit found? still set a success
patch:
default:
# Make patch coverage informational (won't fail builds)
informational: true
# Exclude baseline development scripts from patch coverage
target: auto
paths:
- "!lib/baseline_*.rb"