mirror of
https://github.com/Telecominfraproject/oopt-gnpy.git
synced 2025-10-29 09:12:37 +00:00
25 lines
607 B
INI
25 lines
607 B
INI
[tox]
|
|
envlist = py37
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
deps =
|
|
-r{toxinidir}/requirements.txt
|
|
pytest>=5.0.0,<6
|
|
cover: pytest-cov
|
|
changedir = {toxinidir}
|
|
usedevelop = True
|
|
setenv =
|
|
cover: CI_COVERAGE_OPTS=--cov=gnpy --cov=examples
|
|
commands =
|
|
pytest {env:CI_COVERAGE_OPTS:} -vv {posargs}
|
|
cover: coverage html -d cover
|
|
cover: coverage xml -o cover/coverage.xml
|
|
|
|
[testenv:docs]
|
|
deps =
|
|
rstcheck
|
|
commands =
|
|
sphinx-build -E -W --keep-going -q -b html docs/ doc/build/html
|
|
rstcheck --ignore-roles cite --ignore-directives automodule --recursive --ignore-messages '(Duplicate explicit target name.*)' {toxinidir}
|