summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordyh <dengyuanhong@chinamobile.com>2020-02-06 17:16:16 +0800
committerdyh <dengyuanhong@chinamobile.com>2020-02-07 09:38:16 +0800
commit6232409ddbf4d973d10b0d550d67ddd51f019949 (patch)
treedfc059185b0cd9b936d5742789da3e44c32732c1
parente6b7bfd7b8fded558dd626e5216040f2ac9c8963 (diff)
update sonar property: sonar.python.coverage.reportPath -> sonar.python.coverage.reportPaths
Change-Id: I6999b7804cfb76eda38a9cc9a08993db79fe5a11 Issue-ID: VFC-1617 Signed-off-by: dyh <dengyuanhong@chinamobile.com>
-rw-r--r--res/pom.xml2
-rw-r--r--res/tox.ini2
2 files changed, 2 insertions, 2 deletions
diff --git a/res/pom.xml b/res/pom.xml
index f11c0c9..d174bf8 100644
--- a/res/pom.xml
+++ b/res/pom.xml
@@ -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>
diff --git a/res/tox.ini b/res/tox.ini
index 13e2837..9863e7a 100644
--- a/res/tox.ini
+++ b/res/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*" \ No newline at end of file