update sonar property: sonar.python.coverage.reportPath -> sonar.python.coverage... 16/101216/2
authordyh <dengyuanhong@chinamobile.com>
Thu, 6 Feb 2020 08:30:34 +0000 (16:30 +0800)
committerdyh <dengyuanhong@chinamobile.com>
Thu, 6 Feb 2020 09:07:11 +0000 (17:07 +0800)
Change-Id: Ie6a0b859a60c8af74aea853a8ccbe7a97bbd0df3
Issue-ID: VFC-1617
Signed-off-by: dyh <dengyuanhong@chinamobile.com>
pom.xml
tox.ini

diff --git a/pom.xml b/pom.xml
index 13eaa43..a8d6632 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -31,7 +31,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/tox.ini b/tox.ini
index cd62443..fb27ec5 100644 (file)
--- a/tox.ini
+++ b/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*"