diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f7e3bcd04f833f048a3b13fd74193b45e6af41a1..9d3ec05065127077148c095c62078e033274ec4c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,15 +1,21 @@ +before_script: + - python -V # Print out python version for debugging + - pip install virtualenv + - virtualenv venv + - source venv/bin/activate + + # run the test suite tests: stage: test - image: registry.gitlab.lis-lab.fr:5005/raphael.sturgis/skais only: - main - develop tags: - docker script: - - pip3 install -r requirements.txt - - pip3 install --no-deps . + - pip install -r requirements.txt + - pip install --no-deps . - pytest --junitxml=report.xml artifacts: when: always