automation test in gitlab-ci.yml

478 Views Asked by At

I'm trying to run pipeline for automation test with python script, actually virtual Environment i need to install in project/src location. but it is by default creating virtual Environment in gitlab below location. home/gitlab-runner/builds/CzgiGr2e/0/digitalplatform/projectfolder/projectfolder/bin/pyvenv But i want to install virtual environment in project/src location and activate (on linux server)

present using commands:

  • pyhton3 -v
  • pip install virtualenv
  • virtualenv projectname
  • source projectname/bin/activate
  • pip3 install -r requirements.txt
  • pip3 install selenium
  • pip install pytest
  • pip install requests
0

There are 0 best solutions below