diff --git a/README.md b/README.md index e9044eeb42f65475701a7cff7e147934beacd644..b3703d2bb661cbc3be6b03f0c718a11642301a5b 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ The Python template uses some global configuration used throughout all jobs. | `project-dir` / `PYTHON_PROJECT_DIR` | Python project root directory | `.` | | `build-system` / `PYTHON_BUILD_SYSTEM`| Python build-system to use to install dependencies, build and package the project (see below) | _none_ (auto-detect) | | `PIP_INDEX_URL` | Python repository url | _none_ | -| `PIP_EXTRA_INDEX_URL` | Exra Python repository url | _none_ | +| `PIP_EXTRA_INDEX_URL` | Extra Python repository url | _none_ | | `pip-opts` / `PIP_OPTS` | pip [extra options](https://pip.pypa.io/en/stable/cli/pip/#general-options) | _none_ | | `extra-deps` / `PYTHON_EXTRA_DEPS` | Python extra sets of dependencies to install<br/>For [Setuptools](https://setuptools.pypa.io/en/latest/userguide/dependency_management.html?highlight=extras#optional-dependencies) or [Poetry](https://python-poetry.org/docs/pyproject/#extras) only | _none_ | | `reqs-file` / `PYTHON_REQS_FILE` | Main requirements file _(relative to `$PYTHON_PROJECT_DIR`)_<br/>For [Requirements Files](https://pip.pypa.io/en/stable/user_guide/#requirements-files) build-system only | `requirements.txt` | @@ -203,7 +203,7 @@ In addition to a textual report in the console, this job produces the following #### `py-compile` job -This job is a fallback if no unit test has been setup (`$UNITTEST_ENABLED` and `$PYTEST_ENABLED` and `$NOSETEST_ENABLED` +This job is a fallback if no unit test has been set up (`$UNITTEST_ENABLED` and `$PYTEST_ENABLED` and `$NOSETEST_ENABLED` are not set), and performs a [`compileall`](https://docs.python.org/3/library/compileall.html). It is bound to the `build` stage, and uses the following variables: diff --git a/templates/gitlab-ci-python.yml b/templates/gitlab-ci-python.yml index 5853c642ace0660308a5fe1bec8a7c47b3ecd16e..85dfa151678f3cf94f922cd9ede45d64d5c30b87 100644 --- a/templates/gitlab-ci-python.yml +++ b/templates/gitlab-ci-python.yml @@ -496,11 +496,11 @@ variables: auto) ;; poetry*|setuptools*|pipenv*) - log_info "--- Build system explictly declared: ${PYTHON_BUILD_SYSTEM}" + log_info "--- Build system explicitly declared: ${PYTHON_BUILD_SYSTEM}" return ;; reqfile) - log_info "--- Build system explictly declared: requirements file" + log_info "--- Build system explicitly declared: requirements file" return ;; *)