mirror of
https://github.com/Telecominfraproject/oopt-gnpy.git
synced 2025-10-30 17:47:50 +00:00
CI: Run both non-coverage and coverage build/test jobs
Change-Id: Ia58112b745a0b34d2dcef782ad729f165629eb22
This commit is contained in:
@@ -2,9 +2,10 @@
|
||||
- project:
|
||||
check:
|
||||
jobs:
|
||||
- tox-py37
|
||||
- tox-docs
|
||||
- tox-py37
|
||||
- tox-cover
|
||||
- tox-docs
|
||||
gate:
|
||||
jobs:
|
||||
- tox-py37
|
||||
- tox-docs
|
||||
- tox-py37
|
||||
- tox-docs
|
||||
|
||||
12
tox.ini
12
tox.ini
@@ -7,9 +7,19 @@ deps = -r{toxinidir}/requirements.txt
|
||||
changedir = {toxinidir}
|
||||
commands =
|
||||
# simulate actual user interaction
|
||||
pip install -e {toxinidir}
|
||||
pip install -e .
|
||||
pytest -vv
|
||||
|
||||
[testenv:cover]
|
||||
deps =
|
||||
-r{toxinidir}/requirements.txt
|
||||
pytest-cov
|
||||
commands =
|
||||
pip install -e .
|
||||
pytest --cov=gnpy --cov=examples -v
|
||||
coverage html -d cover
|
||||
coverage xml -o cover/coverage.xml
|
||||
|
||||
[testenv:docs]
|
||||
deps =
|
||||
-r{toxinidir}/requirements.txt
|
||||
|
||||
Reference in New Issue
Block a user