diff options
-rw-r--r-- | pom.xml | 7 | ||||
-rw-r--r-- | tox.ini | 3 |
2 files changed, 9 insertions, 1 deletions
@@ -25,6 +25,13 @@ <docker.latest.tag>${project.version}-latest</docker.latest.tag> <docker.pull.registry>nexus3.onap.org:10001</docker.pull.registry> <docker.push.registry>nexus3.onap.org:10003</docker.push.registry> + <!--sonar--> + <sonar.sourceEncoding>UTF-8</sonar.sourceEncoding> + <sonar.sources>.</sonar.sources> + <sonar.python.coverage.reportPath>coverage.xml</sonar.python.coverage.reportPath> + <sonar.language>py</sonar.language> + <sonar.pluginName>python</sonar.pluginName> + <sonar.inclusions>imagescanner/imagescanner/**.py</sonar.inclusions> </properties> <build> @@ -9,7 +9,8 @@ distribute = False commands = {envpython} --version pytest --version - pytest --cov=imagescanner + coverage run --module pytest imagescanner + coverage xml deps = flake8 pytest-cov |