Skip to content

Commit f49b43b

Browse files
authored
Merge pull request #432 from openforcefield/fix-coverage
[WIP] Fix codecov
2 parents 4aafa27 + c2130d3 commit f49b43b

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed

.travis.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,15 +91,16 @@ script:
9191
- if [[ "$RDKIT" == true && "$OPENEYE" == true ]];
9292
then
9393
pytest --ignore=utilities --ignore=examples/deprecated --ignore=docs
94-
--ignore=devtools --doctest-modules --nbval-lax --cov=openforcefield;
94+
--ignore=devtools --doctest-modules --nbval-lax --cov=openforcefield
95+
--cov-config=setup.cfg;
9596
elif [[ "$OPENEYE" == true ]];
9697
then
9798
pytest --ignore=utilities --ignore=examples/deprecated --ignore=docs
9899
--ignore=devtools --ignore=examples/check_dataset_parameter_coverage
99-
--nbval-lax --cov=openforcefield;
100+
--nbval-lax --cov=openforcefield --cov-config=setup.cfg;
100101
else
101102
pytest --ignore=utilities --ignore=examples/deprecated
102-
--nbval-lax --cov=openforcefield;
103+
--nbval-lax --cov=openforcefield --cov-config=setup.cfg;
103104
fi
104105

105106
notifications:

codecov.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
2+
# Codecov configuration to make it a bit less noisy
3+
coverage:
4+
status:
5+
patch: false
6+
project:
7+
default:
8+
threshold: 50%
9+
comment:
10+
layout: "header"
11+
require_changes: false
12+
branches: null
13+
behavior: default
14+
flags: null
15+
paths: null

0 commit comments

Comments
 (0)