From de2a34225d44551c358afe05403f4cb3006f50e6 Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Fri, 12 Jan 2018 14:10:06 -0500 Subject: [PATCH] Document pyenv usage in the tox job Change-Id: Id07a1e4065b03489260dfe1d0b86cacf8d60238d Signed-off-by: Thanh Ha --- docs/jjb/lf-python-jobs.rst | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/jjb/lf-python-jobs.rst b/docs/jjb/lf-python-jobs.rst index a0477248..2a8e66b7 100644 --- a/docs/jjb/lf-python-jobs.rst +++ b/docs/jjb/lf-python-jobs.rst @@ -44,7 +44,15 @@ Job Templates Tox Verify ---------- -Tox runner to verify a project +Tox runner to verify a project. This job is pyenv aware so if the image +contains an installation of pyenv at /opt/pyenv it will pick it up and run +Python tests with the appropriate Python versions. This job will set the +following pyenv variables before running. + +.. code:: bash + + export PYENV_ROOT="/opt/pyenv" + export PATH="$PYENV_ROOT/bin:$PATH" :Template Names: -- 2.16.6