update sonar property: sonar.python.coverage.reportPath -> sonar.python.coverage... 24/101224/2
authordyh <dengyuanhong@chinamobile.com>
Thu, 6 Feb 2020 08:55:25 +0000 (16:55 +0800)
committerdyh <dengyuanhong@chinamobile.com>
Fri, 7 Feb 2020 01:44:02 +0000 (09:44 +0800)
Change-Id: Ida77f4bbbfc1f16709732a9f31e3dadea37669bf
Issue-ID: VFC-1617
Signed-off-by: dyh <dengyuanhong@chinamobile.com>
lcm/pom.xml
lcm/tox.ini

index 1049cc5..6dbc92d 100644 (file)
@@ -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>
index 54f7ae8..6f61451 100644 (file)
@@ -23,5 +23,5 @@ commands =
   {[testenv]commands}
 
 [testenv:cov]
-deps = coverage
+deps = coverage==4.2
 commands = coverage xml --omit="*test*,*__init__.py,*site-packages*"