diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index eb23722e19defb37eb7319d57880a54f749deb93..99fb01e4197d9797bca01e639cbd443c2daad303 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