summaryrefslogtreecommitdiffstats
path: root/mgr
diff options
context:
space:
mode:
authordyh <dengyuanhong@chinamobile.com>2020-02-06 17:15:22 +0800
committerdyh <dengyuanhong@chinamobile.com>2020-02-07 09:41:17 +0800
commitac63a7c73c07c3f61e89a9144d35bafa74746b26 (patch)
tree3058fade2e5957fbdf7376ae4ecfd9742afcfe60 /mgr
parenta6537c147ffac606288b273e61df096d05b92541 (diff)
update sonar property: sonar.python.coverage.reportPath -> sonar.python.coverage.reportPaths
Change-Id: I726fd7a968b87d67f6d8fa1592008359a01aac72 Issue-ID: VFC-1617 Signed-off-by: dyh <dengyuanhong@chinamobile.com>
Diffstat (limited to 'mgr')
-rw-r--r--mgr/pom.xml2
-rw-r--r--mgr/tox.ini2
2 files changed, 2 insertions, 2 deletions
diff --git a/mgr/pom.xml b/mgr/pom.xml
index c6d6024..28b54e5 100644
--- a/mgr/pom.xml
+++ b/mgr/pom.xml
@@ -30,7 +30,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<sonar.sources>.</sonar.sources>
<sonar.junit.reportsPath>xunit-results.xml</sonar.junit.reportsPath>
- <sonar.python.coverage.reportPath>coverage.xml</sonar.python.coverage.reportPath>
+ <sonar.python.coverage.reportPaths>coverage.xml</sonar.python.coverage.reportPaths>
<sonar.language>py</sonar.language>
<sonar.pluginname>python</sonar.pluginname>
<sonar.inclusions>**/**.py</sonar.inclusions>
diff --git a/mgr/tox.ini b/mgr/tox.ini
index a666b43..cb4f53c 100644
--- a/mgr/tox.ini
+++ b/mgr/tox.ini
@@ -23,5 +23,5 @@ commands =
{[testenv]commands}
[testenv:cov]
-deps = coverage
+deps = coverage==4.2
commands = coverage xml --omit="*test*,*__init__.py,*site-packages*" \ No newline at end of file