pip cache purge in gitlab-ci

This commit is contained in:
Laetitia Getti 2023-07-07 10:42:22 +02:00
parent 7e6d17c840
commit 4e78da6960

View file

@ -25,6 +25,7 @@ tests:
- echo "Virtual env created." - echo "Virtual env created."
- echo "Running tests..." - echo "Running tests..."
- source $CACHE_PATH/venv/bin/activate - source $CACHE_PATH/venv/bin/activate
- pip cache purge
- pip install -U -r requirements.txt - pip install -U -r requirements.txt
- pip install -U -r dev-requirements.txt - pip install -U -r dev-requirements.txt
- pytest --create-db --cov --cov-report=xml - pytest --create-db --cov --cov-report=xml