From f86c25b02af6b1fe5709ff1d2ee6337dd656957e Mon Sep 17 00:00:00 2001 From: Wittmann Gregory <gregory.wittmann4@etu.univ-lorraine.fr> Date: Mon, 8 Jan 2024 17:39:49 +0100 Subject: [PATCH] . --- .gitlab-ci.yml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index eb23722..99fb01e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,19 +1,12 @@ stages: - - lint - test -lint: - stage: lint - script: - - apk update - - apk add python3 py3-pip - - pip3 install flake8 - - flake8 sphère.py - test: stage: test script: - apk update - apk add python3 py3-pip - - pip3 install -r requirements.txt - - python3 -m pytest test_sphère.py + - python3 -m venv venv + - source venv/bin/activate + - pip install -r requirements.txt + - python3 -m pytest test_sphère.py \ No newline at end of file -- GitLab