X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fbindings%2Frmr-python%2Ftox.ini;h=1aec1b2d82b1c261eeb6d61b47d4bdc82ff3f5db;hb=839fc1e9a0f53f3cb9e1991d364e593047656584;hp=cb7cf77fbef3e109c7a9bfdb33fe3762d2b8c3d9;hpb=750bdce38fb37e72174c5f10af0140c0a1ead811;p=ric-plt%2Flib%2Frmr.git diff --git a/src/bindings/rmr-python/tox.ini b/src/bindings/rmr-python/tox.ini index cb7cf77..1aec1b2 100644 --- a/src/bindings/rmr-python/tox.ini +++ b/src/bindings/rmr-python/tox.ini @@ -1,6 +1,6 @@ # ================================================================================== -# Copyright (c) 2019 Nokia -# Copyright (c) 2018-2019 AT&T Intellectual Property. +# Copyright (c) 2020 Nokia +# Copyright (c) 2018-2020 AT&T Intellectual Property. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -15,15 +15,21 @@ # limitations under the License. # ================================================================================== [tox] -envlist = py37,flake8 +envlist = py37,py38,flake8 [testenv] deps= pytest coverage pytest-cov -setenv = LD_LIBRARY_PATH = /usr/local/lib/:/usr/local/lib64 -commands=pytest --verbose --cov {envsitepackagesdir}/rmr --cov-report term-missing +setenv = + LD_LIBRARY_PATH = /usr/local/lib/:/usr/local/lib64 + RMR_SEED_RT = tests/fixtures/test_local.rt + RMR_ASYNC_CONN = 0 + +commands= + pytest --verbose --cov {envsitepackagesdir}/rmr --cov-report xml --cov-report term-missing --cov-report html + coverage xml -i [testenv:flake8] basepython = python3.7