mirror of
https://github.com/p2p-ld/nwb-linkml.git
synced 2024-11-10 00:34:29 +00:00
move to .coveragerc
This commit is contained in:
parent
2e1130c3f6
commit
ce5cd18212
2 changed files with 13 additions and 13 deletions
10
nwb_linkml/.coveragerc
Normal file
10
nwb_linkml/.coveragerc
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
[run]
|
||||||
|
branch = true
|
||||||
|
source = [
|
||||||
|
"nwb_linkml"
|
||||||
|
]
|
||||||
|
omit = [
|
||||||
|
"*/nwb_schema_language/*",
|
||||||
|
"*/nwb_linkml/models/*",
|
||||||
|
"*/tests/*"
|
||||||
|
]
|
|
@ -64,21 +64,11 @@ build-backend = "poetry.core.masonry.api"
|
||||||
|
|
||||||
[tool.pytest.ini_options]
|
[tool.pytest.ini_options]
|
||||||
addopts = [
|
addopts = [
|
||||||
"--cov",
|
"--cov=nwb_linkml",
|
||||||
"--cov-append"
|
"--cov-append",
|
||||||
|
"--cov-config=.coveragerc"
|
||||||
]
|
]
|
||||||
testpaths = [
|
testpaths = [
|
||||||
"tests",
|
"tests",
|
||||||
'nwb_linkml/tests'
|
'nwb_linkml/tests'
|
||||||
]
|
]
|
||||||
|
|
||||||
[tool.coverage.run]
|
|
||||||
branch = true
|
|
||||||
source = [
|
|
||||||
"nwb_linkml"
|
|
||||||
]
|
|
||||||
omit = [
|
|
||||||
"*/nwb_schema_language/*",
|
|
||||||
"*/nwb_linkml/models/*"
|
|
||||||
]
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue