mirror of
				https://github.com/jtesta/ssh-audit.git
				synced 2025-10-30 21:15:27 +01:00 
			
		
		
		
	Report python version in CI.
This commit is contained in:
		| @@ -94,7 +94,7 @@ ci_pyenv_use() { | |||||||
| 	local _py_ver=$(ci_get_py_ver "$1") | 	local _py_ver=$(ci_get_py_ver "$1") | ||||||
| 	pyenv shell "${_py_ver}" | 	pyenv shell "${_py_ver}" | ||||||
| 	ci_err $? "pyenv could not use ${_py_ver}" | 	ci_err $? "pyenv could not use ${_py_ver}" | ||||||
| 	[ ${CI_VERBOSE} -gt 0 ] && echo "[ci] using python version: $(python -V 2>&1)" | 	[ ${CI_VERBOSE} -gt 0 ] && echo "[ci] using python: $(python -V 2>&1)" | ||||||
| } | } | ||||||
|  |  | ||||||
| ci_pip_setup() { | ci_pip_setup() { | ||||||
| @@ -131,7 +131,7 @@ ci_venv_use() { | |||||||
| 	local _py_env=$(ci_get_py_env "${_py_ver}") | 	local _py_env=$(ci_get_py_env "${_py_ver}") | ||||||
| 	local VENV_DIR=~/.venv/${_py_ver} | 	local VENV_DIR=~/.venv/${_py_ver} | ||||||
| 	. "${VENV_DIR}/bin/activate" | 	. "${VENV_DIR}/bin/activate" | ||||||
| 	[ ${CI_VERBOSE} -gt 0 ] && echo "[ci] virtualenv python path: $(which python)" | 	[ ${CI_VERBOSE} -gt 0 ] && echo "[ci] using python: $(python -V 2>&1)" | ||||||
| } | } | ||||||
|  |  | ||||||
| ci_run_wrapped() { | ci_run_wrapped() { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Andris Raugulis
					Andris Raugulis