forked from amzn/supply-chain-simulation-environment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
38 lines (33 loc) · 1.09 KB
/
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
37
38
# Define this so we don't resolve to the wrong setuptools 'test' entrypoint when
# invoking brazil-build test.
[aliases]
test=brazil_test
# Configuration for pytest; enable coverage for supply_chain_simulation_environment, emit
# XML, HTML, and terminal reports.
[tool:pytest]
xfail_strict = true
addopts =
--verbose
--ignore=build/private
--doctest-modules
--cov scse
--cov-report term-missing
--cov-report html:build/brazil-documentation/coverage
--cov-report xml:build/brazil-documentation/coverage/coverage.xml
# Uncomment to enforce a minimum code coverage threshold.
# --cov-fail-under 50
testpaths = test/unit
# Additional coverage.py settings. The parallel flag and source values are
# necessary so that pytest-cov knows to alias the brazil build artifact 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/brazil-documentation/coverage
[coverage:xml]
output = build/brazil-documentation/coverage/coverage.xml