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

Add json output for code coverage

parent f0a785ac
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@ pylint = "*"
pytest = "*"
pytest-cov = "*"
pytest-pylint = "*"
pytest-json = "*"
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 --cov-report xml --cov-report term --cov-report html --pylint --pylint-error-types=EF
addopts = --cov --cov-report xml --json=coverage.json --cov-report term --cov-report html --pylint --pylint-error-types=EF

# Define `python setup.py build_sphinx`
[build_sphinx]