forked from amzn/pecos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
37 lines (31 loc) · 877 Bytes
/
setup.cfg
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
32
33
34
35
36
[aliases]
test=pytest
# Configuration for pytest; enable coverage for pecos, emit
# XML, HTML, and terminal reports.
[tool:pytest]
xfail_strict = true
addopts =
--verbose
--ignore=build/private
--doctest-modules
--cov pecos
--cov-report term-missing
--cov-report html:build/coverage
--cov-report xml:build/coverage/coverage.xml
# Uncomment to enforce a minimum code coverage threshold.
# --cov-fail-under 50
testpaths = test
# Additional coverage.py settings. The parallel flag and source values are
# necessary so that pytest-cov knows to alias a build artifact's absolute
# paths to the relative ones from your package source.
[coverage:run]
branch = true
parallel = true
[coverage:paths]
source =
src/
build/lib/*/site-packages/
[coverage:html]
directory = build/coverage
[coverage:xml]
output = build/coverage/coverage.xml