Loading templates/gitlab-ci-python.yml +7 −4 Original line number Diff line number Diff line Loading @@ -239,6 +239,13 @@ variables: ;; esac if [[ -f "${PYTHON_REQS_FILE}" ]] then log_info "--- Build system auto-detected: requirements file" export PYTHON_BUILD_SYSTEM="reqfile" return fi if [[ -f "pyproject.toml" ]] then # that might be PEP 517 if a build-backend is specified Loading Loading @@ -273,10 +280,6 @@ variables: then log_info "--- Build system auto-detected: Pipenv" export PYTHON_BUILD_SYSTEM="pipenv" elif [[ -f "${PYTHON_REQS_FILE}" ]] then log_info "--- Build system auto-detected: requirements file" export PYTHON_BUILD_SYSTEM="reqfile" else log_error "--- Build system auto-detect failed: please read template doc" exit 1 Loading Loading
templates/gitlab-ci-python.yml +7 −4 Original line number Diff line number Diff line Loading @@ -239,6 +239,13 @@ variables: ;; esac if [[ -f "${PYTHON_REQS_FILE}" ]] then log_info "--- Build system auto-detected: requirements file" export PYTHON_BUILD_SYSTEM="reqfile" return fi if [[ -f "pyproject.toml" ]] then # that might be PEP 517 if a build-backend is specified Loading Loading @@ -273,10 +280,6 @@ variables: then log_info "--- Build system auto-detected: Pipenv" export PYTHON_BUILD_SYSTEM="pipenv" elif [[ -f "${PYTHON_REQS_FILE}" ]] then log_info "--- Build system auto-detected: requirements file" export PYTHON_BUILD_SYSTEM="reqfile" else log_error "--- Build system auto-detect failed: please read template doc" exit 1 Loading