From: Zhang Rong(Jon) Date: Tue, 14 Jun 2022 07:13:39 +0000 (+0800) Subject: Test: add CLM env on tox config file; ignore the coverage cache file X-Git-Tag: 2.0.0-rc1~43^2 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=af651f209483d8ee0796b7be60e5c97b157b987c;p=pti%2Fo2.git Test: add CLM env on tox config file; ignore the coverage cache file As title Signed-off-by: Zhang Rong(Jon) Change-Id: Ie5ef292d8b068c0c56abf1b895d6e209941904ca --- diff --git a/.gitignore b/.gitignore index 669448b..e103593 100644 --- a/.gitignore +++ b/.gitignore @@ -6,5 +6,6 @@ __pycache__ .tox *.log .vscode +.coverage temp docs/_build/ diff --git a/tox.ini b/tox.ini index d635278..03f379c 100644 --- a/tox.ini +++ b/tox.ini @@ -24,6 +24,11 @@ deps = -r{toxinidir}/requirements.txt -r{toxinidir}/requirements-test.txt whitelist_externals = bash, flake8, pytest +[testenv:clm] +# use pip to report dependencies with versions +whitelist_externals = sh +commands = sh -c 'pip freeze > requirements.txt' + [testenv:flake8] commands = flake8 o2ims