diff --git a/templates/gitlab-ci-python.yml b/templates/gitlab-ci-python.yml index adb60a299bb458996d8ab527a06fa9428424fbe0..5f8e3c92f083f620c34427411a9660abc945a1a6 100644 --- a/templates/gitlab-ci-python.yml +++ b/templates/gitlab-ci-python.yml @@ -106,7 +106,8 @@ variables: pip install ${PIP_OPTS} -r "${REQUIREMENTS_FILE}" elif [[ -f "${SETUP_PY_DIR}/setup.py" ]]; then log_info "--- installing from ${SETUP_PY_DIR}/setup.py file" - pip install "${SETUP_PY_DIR}/" + # shellcheck disable=SC2086 + pip install ${PIP_OPTS} "${SETUP_PY_DIR}/" else log_info "--- no requirements or setup.py file found from env or file ${REQUIREMENTS_FILE} - ${SETUP_PY_DIR}/setup.py does not exist" fi @@ -129,7 +130,8 @@ variables: pip install ${PIP_OPTS} -r "${DOCS_REQUIREMENTS_FILE}" elif [[ -f "${SETUP_PY_DIR}/setup.py" ]]; then log_info "--- installing from ${SETUP_PY_DIR}/setup.py file" - pip install "${SETUP_PY_DIR}/" + # shellcheck disable=SC2086 + pip install ${PIP_OPTS} "${SETUP_PY_DIR}/" else log_info "--- no doc requirements file found from env or file ${DOCS_REQUIREMENTS_FILE} - ${SETUP_PY_DIR}/setup.py does not exist" fi