X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;ds=sidebyside;f=docs%2Fjjb%2Flf-python-jobs.rst;h=0f02b428b4faeb7be3725e3a9cc055a472749b22;hb=ca2ec8e82f3cdc1eb355f1aa29a968002ec3c9e6;hp=410e30da9f712874d200e8932815af6c46fd9c7a;hpb=0f9b36b3c10d4ae559b96b2bb61676e164d89ca0;p=releng%2Fglobal-jjb.git diff --git a/docs/jjb/lf-python-jobs.rst b/docs/jjb/lf-python-jobs.rst index 410e30da..0f02b428 100644 --- a/docs/jjb/lf-python-jobs.rst +++ b/docs/jjb/lf-python-jobs.rst @@ -144,24 +144,20 @@ The coverage commands define the code that gets executed by the test suites. Checking coverage does not guarantee that the tests execute properly, but it identifies code that is not executed by any test. -.. comment Start ignoring WriteGoodLintBear - This job reuses the Sonar builders used for Java/Maven projects which run maven twice. The first invocation does nothing for Python -projects, so the job uses the goal 'validate' by default. The second -invocation publishes results using the goal 'sonar:sonar' by default. - -.. comment Stop ignoring +projects, so the job uses the goal ``validate`` by default. The second +invocation publishes results using the goal ``sonar:sonar`` by default. For example: .. code-block:: bash - [testenv:py27] + [testenv:py3] commands = coverage run --module pytest --junitxml xunit-results.xml - coverage xml --omit=".tox/py27/*","tests/*" - coverage report --omit=".tox/py27/*","tests/*" + coverage xml --omit=".tox/py3/*","tests/*" + coverage report --omit=".tox/py3/*","tests/*" For more details refer to coverage and sonar documentation: