Merge "Test: add CLM env on tox config file; ignore the coverage cache file"
authorBin Yang <bin.yang@windriver.com>
Thu, 16 Jun 2022 09:27:56 +0000 (09:27 +0000)
committerGerrit Code Review <gerrit@o-ran-sc.org>
Thu, 16 Jun 2022 09:27:56 +0000 (09:27 +0000)
.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