Fix: Re-instate path change to fix tox jobs 95/132995/1
authorMatthew Watkins <mwatkins@linuxfoundation.org>
Tue, 24 Jan 2023 10:21:32 +0000 (10:21 +0000)
committerMatthew Watkins <mwatkins@linuxfoundation.org>
Tue, 24 Jan 2023 10:21:32 +0000 (10:21 +0000)
A bug was recently introduced preventing tox from finding the tox.ini

Issue-ID: CIMAN-33
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
Change-Id: I6a6e7a97c02637beb3b6578f7aaf9aeaf2129e8d

jjb/global-templates-python.yaml

index dcc5985..5c44bda 100644 (file)
             export TOX_TESTENV_PASSENV=PYTHONPATH
           fi
 
+          python -m pip install --upgrade pip
+          python -m pip install --upgrade tox argparse
+
           # Useful debugging
           python --version
+          python -m pip freeze
           tox --version
 
+          cd $WORKSPACE/{path}
           tox
 
     publishers: