This job is **disabled by default** and performs tests based on [unittest](https://docs.python.org/3/library/unittest.html) Python lib.
This job is **disabled by default** and performs tests based on [unittest](https://docs.python.org/3/library/unittest.html) Python lib.
...
@@ -101,6 +137,8 @@ This job produces the following artifacts, kept for one day:
...
@@ -101,6 +137,8 @@ This job produces the following artifacts, kept for one day:
* JUnit test report (using the [xmlrunner](https://github.com/xmlrunner/unittest-xml-reporting) module)
* JUnit test report (using the [xmlrunner](https://github.com/xmlrunner/unittest-xml-reporting) module)
* code coverage report (cobertura xml format).
* code coverage report (cobertura xml format).
:warning: code coverage report artifact is disabled, due to a deprecated syntax, see [Activate code coverage report artifact](#activate-code-coverage-report-artifact)
:warning: create a `.coveragerc` file at the root of your Python project to control the coverage settings.
:warning: create a `.coveragerc` file at the root of your Python project to control the coverage settings.
Example:
Example:
...
@@ -110,7 +148,7 @@ Example:
...
@@ -110,7 +148,7 @@ Example:
# enables branch coverage
# enables branch coverage
branch = True
branch = True
# list of directories/packages to cover
# list of directories/packages to cover
source =
source =
module_1
module_1
module_2
module_2
```
```
...
@@ -131,6 +169,8 @@ This job produces the following artifacts, kept for one day:
...
@@ -131,6 +169,8 @@ This job produces the following artifacts, kept for one day:
* JUnit test report (with the [`--junit-xml`](http://doc.pytest.org/en/latest/usage.html#creating-junitxml-format-files) argument)
* JUnit test report (with the [`--junit-xml`](http://doc.pytest.org/en/latest/usage.html#creating-junitxml-format-files) argument)
* code coverage report (cobertura xml format).
* code coverage report (cobertura xml format).
:warning: code coverage report artifact is disabled, due to a deprecated syntax, see [Activate code coverage report artifact](#activate-code-coverage-report-artifact)
:warning: create a `.coveragerc` file at the root of your Python project to control the coverage settings.
:warning: create a `.coveragerc` file at the root of your Python project to control the coverage settings.
Example:
Example:
...
@@ -140,7 +180,7 @@ Example:
...
@@ -140,7 +180,7 @@ Example:
# enables branch coverage
# enables branch coverage
branch = True
branch = True
# list of directories/packages to cover
# list of directories/packages to cover
source =
source =
module_1
module_1
module_2
module_2
```
```
...
@@ -164,6 +204,8 @@ This job produces the following artifacts, kept for one day:
...
@@ -164,6 +204,8 @@ This job produces the following artifacts, kept for one day:
* JUnit test report (with the [`--with-xunit`](https://nose.readthedocs.io/en/latest/plugins/xunit.html) argument)
* JUnit test report (with the [`--with-xunit`](https://nose.readthedocs.io/en/latest/plugins/xunit.html) argument)
* code coverage report (cobertura xml format + html report).
* code coverage report (cobertura xml format + html report).
:warning: code coverage report artifact is disabled, due to a deprecated syntax, see [Activate code coverage report artifact](#activate-code-coverage-report-artifact)
:warning: create a `.coveragerc` file at the root of your Python project or use [nose CLI options](https://nose.readthedocs.io/en/latest/plugins/cover.html#options) to control the coverage settings.
:warning: create a `.coveragerc` file at the root of your Python project or use [nose CLI options](https://nose.readthedocs.io/en/latest/plugins/cover.html#options) to control the coverage settings.
#### `py-compile` job
#### `py-compile` job
...
@@ -300,7 +342,7 @@ You should disable the `semantic-release` job (as it's the `py-release` job that
...
@@ -300,7 +342,7 @@ You should disable the `semantic-release` job (as it's the `py-release` job that
Finally, the semantic-release integration can be disabled with the `PYTHON_SEMREL_RELEASE_DISABLED` variable.
Finally, the semantic-release integration can be disabled with the `PYTHON_SEMREL_RELEASE_DISABLED` variable.