aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordyh <dengyuanhong@chinamobile.com>2020-02-06 16:30:34 +0800
committerdyh <dengyuanhong@chinamobile.com>2020-02-06 17:07:11 +0800
commitf63c390b5f61fbdf2b2468b86cbd9047f3390a96 (patch)
tree91855f835c23c8bf2e594bd3c0e76eb4d854f38e
parent975f35644dca14ce3768187a2e3c8675273f8d44 (diff)
update sonar property: sonar.python.coverage.reportPath -> sonar.python.coverage.reportPaths
Change-Id: Ie6a0b859a60c8af74aea853a8ccbe7a97bbd0df3 Issue-ID: VFC-1617 Signed-off-by: dyh <dengyuanhong@chinamobile.com>
-rw-r--r--pom.xml2
-rw-r--r--tox.ini2
2 files changed, 2 insertions, 2 deletions
diff --git a/pom.xml b/pom.xml
index 13eaa432..a8d6632a 100644
--- 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 cd624430..fb27ec5a 100644
--- 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*"