Open abusquets opened 7 years ago
Changing this line https://github.com/Strider-CD/strider-python/blob/master/worker.js#L19 to var venvDir = path.join(context.baseDir, '..', '.venv'); This problem is solved but I still have another problem, I don't have the environment enabled.
And I should install requirements like
/home/strider/.venv/bin/pip install -r requirements.txt
and run the tests like
/home/strider/.venv/bin/python manage.py test
Another way is use a Custom Script Plugin
I have this error (below) when I try to test a python project with Docker Runner. This not happens with a node project.
$ git clone --recursive git\@github.com\:abusquets/django-coverage.git . --branch master github 11s fatal: destination path '.' already exists and is not an empty directory.
I checked /home/strider/workspace folder in the image and is empty.
I think the problem is the python virtualenv folder.
"New python executable in /home/strider/workspace/.venv/bin/python"
Do you have any idea to solve this problem?
Thanks