summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordyh <dengyuanhong@chinamobile.com>2020-02-06 16:55:25 +0800
committerdyh <dengyuanhong@chinamobile.com>2020-02-07 09:44:02 +0800
commit6f1f8f9a9cdf4dfd0c07b68587e0e9880679cb1e (patch)
tree83e1059e8187d44d5edaebdeb63b3ab4882a637c
parent3ee9298ba721307c226d0f9af8d36a1dc982d226 (diff)
update sonar property: sonar.python.coverage.reportPath -> sonar.python.coverage.reportPaths
Change-Id: Ida77f4bbbfc1f16709732a9f31e3dadea37669bf Issue-ID: VFC-1617 Signed-off-by: dyh <dengyuanhong@chinamobile.com>
-rw-r--r--lcm/pom.xml2
-rw-r--r--lcm/tox.ini2
2 files changed, 2 insertions, 2 deletions
diff --git a/lcm/pom.xml b/lcm/pom.xml
index 1049cc53..6dbc92d4 100644
--- a/lcm/pom.xml
+++ b/lcm/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/lcm/tox.ini b/lcm/tox.ini
index 54f7ae87..6f61451f 100644
--- a/lcm/tox.ini
+++ b/lcm/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*"