update sonar property: sonar.python.coverage.reportPath -> sonar.python.coverage... 26/101226/2
authordyh <dengyuanhong@chinamobile.com>
Thu, 6 Feb 2020 09:16:16 +0000 (17:16 +0800)
committerdyh <dengyuanhong@chinamobile.com>
Fri, 7 Feb 2020 01:38:16 +0000 (09:38 +0800)
Change-Id: I6999b7804cfb76eda38a9cc9a08993db79fe5a11
Issue-ID: VFC-1617
Signed-off-by: dyh <dengyuanhong@chinamobile.com>
res/pom.xml
res/tox.ini

index f11c0c9..d174bf8 100644 (file)
@@ -33,7 +33,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 13e2837..9863e7a 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*"
\ No newline at end of file