From af651f209483d8ee0796b7be60e5c97b157b987c Mon Sep 17 00:00:00 2001 From: "Zhang Rong(Jon)" Date: Tue, 14 Jun 2022 15:13:39 +0800 Subject: [PATCH] Test: add CLM env on tox config file; ignore the coverage cache file As title Signed-off-by: Zhang Rong(Jon) Change-Id: Ie5ef292d8b068c0c56abf1b895d6e209941904ca --- .gitignore | 1 + tox.ini | 5 +++++ 2 files changed, 6 insertions(+) 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 -- 2.16.6