From cc6f28dda4ea264da7b3f1d28d6c1a016c3b92d6 Mon Sep 17 00:00:00 2001 From: Raphael Sturgis <raphael.sturgis@lis-lab.fr> Date: Tue, 2 Nov 2021 09:23:40 +0100 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f7e3bcd..9d3ec05 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 -- GitLab