Commit 47aaf3ef authored by Bruno S. Morgado's avatar Bruno S. Morgado
Browse files

Change tool for JSON pytest coverage reporting

parent a6ee1e67
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ pylint = "*"
pytest = "*"
pytest-cov = "*"
pytest-pylint = "*"
pytest-json = "*"
pytest-json-report = "*"
python-dotenv = ">=0.5.1"
Sphinx = "*"
sphinx_rtd_theme = "*"
+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ source = ska_skeleton

[tool:pytest]
testpaths = tests
addopts = --cov --json=htmlcov/coverage.json --cov-report term --cov-report html --pylint --pylint-error-types=EF
addopts = --cov --json-report --json-report-file=htmlcov/report.json --cov-report term --cov-report html --cov-report annotate --pylint --pylint-error-types=EF

# Define `python setup.py build_sphinx`
[build_sphinx]
+1 −0
Original line number Diff line number Diff line
@@ -45,6 +45,7 @@ setup(
    tests_require=[
        'pytest',
        'pytest-cov',
        'pytest-json-report',
        'pycodestyle',
    ],
    extras_require={