-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
48 lines (40 loc) · 1.14 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
39
40
41
42
43
44
45
46
47
48
[metadata]
description-file = README.rst
[aliases]
# Define `python setup.py test`
test = pytest
[coverage:run]
branch = True
source = ska-mid-cbf-mcs
[tool:pytest]
log_cli = True
log_cli_level = INFO
log_file = pytest-logs.txt
log_file_level = INFO
# add test file paths to testpaths and addopts coverage tag
testpaths = tests/integration
# tests/unit
addopts = --cov=src/ska_mid_cbf_mcs/controller
--cov=src/ska_mid_cbf_mcs/subarray
--json-report
--json-report-file=htmlcov/report.json
--cov-report term
--cov-report html
--cov-report xml
--junitxml=build/reports/unit-tests.xml
--pylint --pylint-error-types=EF
--verbose
# NOTE: Optionally add a pytest command line argument to
# addopts, in order to restrict the tests to be
# executed, for ex.:
# -k test_ConfigureScan_basic
# -k 'CbfSubarray and AddRemoveReceptors_valid'
# -k 'CbfController or test_On_valid'
filterwarnings =
ignore::DeprecationWarning
# Define `python setup.py build_sphinx`
[build_sphinx]
source-dir = docs
build-dir = docs/_build
all_files = 1
builder = html