Test: add CLM env on tox config file; ignore the coverage cache file 58/8558/1
authorZhang Rong(Jon) <rong.zhang@windriver.com>
Tue, 14 Jun 2022 07:13:39 +0000 (15:13 +0800)
committerZhang Rong(Jon) <rong.zhang@windriver.com>
Tue, 14 Jun 2022 07:13:39 +0000 (15:13 +0800)
As title

Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: Ie5ef292d8b068c0c56abf1b895d6e209941904ca

.gitignore
tox.ini

index 669448b..e103593 100644 (file)
@@ -6,5 +6,6 @@ __pycache__
 .tox
 *.log
 .vscode
+.coverage
 temp
 docs/_build/
diff --git a/tox.ini b/tox.ini
index d635278..03f379c 100644 (file)
--- 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