X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=tox.ini;h=70389b6ff8c669360c74dd89d4bf2e031f4980bc;hb=bfa46147cce23a46a49fb53dfae8a790b0fe34e4;hp=b621d02dc410960989c9b379c526223f52bee8d4;hpb=d1cc75a2ca8d41cecb8bd67f9bc934c53035b43b;p=ric-plt%2Fa1.git diff --git a/tox.ini b/tox.ini index b621d02..70389b6 100644 --- a/tox.ini +++ b/tox.ini @@ -28,7 +28,9 @@ setenv = RMR_RETRY_TIMES = 2 # Note, before this will work, for the first time on that machine, run ./install_deps.sh -commands=pytest --verbose --cov {envsitepackagesdir}/a1 --cov-report term-missing --cov-report html +commands = + pytest --junitxml xunit-results.xml --cov a1 --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=70 + coverage xml -i [testenv:flake8] basepython = python3.7 @@ -37,4 +39,4 @@ deps = flake8 commands = flake8 setup.py a1 tests [flake8] -extend-ignore = E501 +extend-ignore = E501,E741