From 8c689c860573eada1effe9a12086bce1e781cca5 Mon Sep 17 00:00:00 2001 From: Daven Savoie Date: Wed, 15 Sep 2021 05:52:38 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 33da99c..424f4a9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -31,7 +31,12 @@ tests: - python -m pip install --extra-index-url https://gitlab.com/api/v4/projects/27624814/packages/pypi/simple --extra-index-url https://pip.grassrootseconomics.net:8433 install -r requirements.txt -r test_requirements.txt - python -m pip freeze - ls - - export PYTHONPATH=. + - > + if [ -z $PYTHONPATH ]; then + export PYTHONPATH=. + else + export PYTHONPATH=$PYTHONPATH:. + fi - PYTHONPATH=. bash run_tests.sh only: