diff options
author | Bin Yang <bin.yang@windriver.com> | 2019-12-11 07:06:49 +0000 |
---|---|---|
committer | Bin Yang <bin.yang@windriver.com> | 2019-12-11 07:06:49 +0000 |
commit | 7a3a6dd01cf1180bc33b8e6b1224d9cf595dbe57 (patch) | |
tree | 90fdc6f4909409e8d7b669b44e7bee8b7f5592cb | |
parent | bbb318a77629518ef2cc2e4b52cb089a92033323 (diff) |
Fix coverage exclude pattern issue
Change-Id: Ibaa3a80ecbafb85ef09e183e2c900b072759e5e6
Issue-ID: MULTICLOUD-963
Signed-off-by: Bin Yang <bin.yang@windriver.com>
-rw-r--r-- | azure/pom.xml | 2 | ||||
-rw-r--r-- | azure/tox.ini | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/azure/pom.xml b/azure/pom.xml index 19fd890..47e9013 100644 --- a/azure/pom.xml +++ b/azure/pom.xml @@ -37,7 +37,7 @@ <sonar.language>py</sonar.language> <sonar.pluginName>Python</sonar.pluginName> <sonar.inclusions>**/*.py</sonar.inclusions> - <sonar.exclusions>**/tests/*,setup.py,**/azure/aria/**</sonar.exclusions> + <sonar.exclusions>**/venv-tox/**,**/.tox/**, **/aria/**, **/tests/*,setup.py</sonar.exclusions> </properties> <build> <pluginManagement> diff --git a/azure/tox.ini b/azure/tox.ini index bae09d9..8ee4eca 100644 --- a/azure/tox.ini +++ b/azure/tox.ini @@ -32,4 +32,4 @@ setenv= commands = coverage erase {[testenv]commands} - coverage xml -i + coverage xml -i --omit="./venv-tox/*,./.tox/*,*tests*,*/aria/*, *site-packages*" |