Skip to content

Commit 0932b19

Browse files
Added codecov files.
1 parent 352a260 commit 0932b19

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed

.coveragerc

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[run]
2+
branch = True
3+
omit =
4+
# Autogenerated missed code handles other VCSes.
5+
devito/_version.py
6+
examples/*__init__*
7+
concurrency = multiprocessing
8+
parallel = True
9+
10+
[report]
11+
# Regexes for lines to exclude from consideration
12+
exclude_lines =
13+
# Don't complain about missing debug-only code:
14+
def __repr__
15+
16+
# Don't complain if tests don't hit defensive assertion code:
17+
raise NotImplementedError
18+
raise ValueError
19+
raise TypeError
20+
raise RuntimeError

codecov.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
codecov:
2+
require_ci_to_pass: yes
3+
notify:
4+
wait_for_ci: yes
5+
6+
coverage:
7+
precision: 2
8+
round: down
9+
range: 80...90
10+
11+
status:
12+
# Learn more at http://docs.codecov.io/docs/codecov-yaml
13+
project:
14+
default:
15+
enabled: yes
16+
target: 1
17+
threshold: 0.1
18+
patch:
19+
default:
20+
enabled: off
21+
22+
ignore:
23+
- "**/*.ipynb"
24+
- docs
25+
- docker
26+
- binder
27+
- .github
28+
- .git

0 commit comments

Comments
 (0)