diff --git a/README.md b/README.md index 7747ce77ac1624ff8f9f6c7f30f257f52234f6e3..cd89555b8ac74d6c2e7be950c06fac1cf9199463 100644 --- a/README.md +++ b/README.md @@ -93,6 +93,7 @@ It is bound to the `build` stage, and uses the following variables: | Input / Variable | Description | Default value | | ------------------------ | ---------------------------------- | ----------------- | +| `pylint-enabled` / `PYLINT_ENABLED` | Set to `true` to enable the `pylint` job | _none_ (disabled) | | `pylint-args` / `PYLINT_ARGS` | Additional [pylint CLI options](http://pylint.pycqa.org/en/latest/user_guide/run.html#command-line-options) | _none_ | | `pylint-files` / `PYLINT_FILES` | Files or directories to analyse | _none_ (by default analyses all found python source files) | @@ -123,6 +124,7 @@ It is bound to the `build` stage, and uses the following variables: | Input / Variable | Description | Default value | | ------------------------ | -------------------------------------------------------------------- | ----------------------- | +| `unittest-enabled` / `UNITTEST_ENABLED` | Set to `true` to enable the `unittest` job | _none_ (disabled) | | `unittest-args` / `UNITTEST_ARGS` | Additional xmlrunner/unittest CLI options | _none_ | :information_source: use a `.coveragerc` file at the root of your Python project to control the coverage settings. @@ -155,6 +157,7 @@ It is bound to the `build` stage, and uses the following variables: | Input / Variable | Description | Default value | | ------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- | +| `pytest-enabled` / `PYTEST_ENABLED` | Set to `true` to enable the `pytest` job | _none_ (disabled) | | `pytest-args` / `PYTEST_ARGS` | Additional [pytest](https://docs.pytest.org/en/stable/usage.html) or [pytest-cov](https://github.com/pytest-dev/pytest-cov#usage) CLI options | _none_ | :information_source: use a `.coveragerc` file at the root of your Python project to control the coverage settings. @@ -187,6 +190,7 @@ It is bound to the `build` stage, and uses the following variables: | Input / Variable | Description | Default value | | ------------------------ | --------------------------------------------------------------------------------------- | ----------------------- | +| `nosetests-enabled` / `NOSETESTS_ENABLED` | Set to `true` to enable the `nose` job | _none_ (disabled) | | `nosetests-args` / `NOSETESTS_ARGS` | Additional [nose CLI options](https://nose.readthedocs.io/en/latest/usage.html#options) | _none_ | By default coverage will be run on all the project directories. You can restrict it to your packages by setting the `$NOSE_COVER_PACKAGE` variable. @@ -310,6 +314,7 @@ It is bound to the `build` stage, and uses the following variables: | Input / Variable | Description | Default value | | ------------------------ | ---------------------------------- | ----------------- | +| `mypy-enabled` / `MYPY_ENABLED` | Set to `true` to enable the `mypy` job | _none_ (disabled) | | `mypy-args` / `MYPY_ARGS` | Additional [mypy CLI options](https://mypy.readthedocs.io/en/stable/command_line.html) | _none_ | | `mypy-files` / `MYPY_FILES` | Files or directories to analyse | _none_ (by default analyses all found python source files) | diff --git a/kicker.json b/kicker.json index 518615487367fc95c63fd484be71782f4a9dd4b3..86ea97e3f6313ff6635e3ec49c32f0581fd6213c 100644 --- a/kicker.json +++ b/kicker.json @@ -61,8 +61,8 @@ "enable_with": "PYTHON_PACKAGE_ENABLED" }, { - "id": "py-lint", - "name": "py-lint", + "id": "pylint", + "name": "pylint", "description": "Code analysis based on [pylint](http://pylint.pycqa.org/en/latest/) Python lib.", "enable_with": "PYLINT_ENABLED", "variables": [ @@ -105,8 +105,8 @@ ] }, { - "id": "py-nosetests", - "name": "py-nosetests", + "id": "nose", + "name": "nose", "description": "Unit tests based on [nose](https://nose.readthedocs.io/) framework", "enable_with": "NOSETESTS_ENABLED", "variables": [ diff --git a/templates/gitlab-ci-python.yml b/templates/gitlab-ci-python.yml index d79eb2c5d218c1f42cb2896e95df27dffd32e177..05194b355b24105fc1cd2b963da9e8d28ee627b0 100644 --- a/templates/gitlab-ci-python.yml +++ b/templates/gitlab-ci-python.yml @@ -83,7 +83,7 @@ spec: description: Additional [pytest](https://docs.pytest.org/en/stable/usage.html) or [pytest-cov](https://github.com/pytest-dev/pytest-cov#usage) CLI options default: '' nosetests-enabled: - description: Enable nosetest + description: Enable nose type: boolean default: false nosetests-args: