Commit 0ce9eaa6 authored by Raul Sirel's avatar Raul Sirel
Browse files

test pip cache in ci

parent dc09faf8
Pipeline #2119 failed
image: continuumio/miniconda3:latest
image: debian:buster
stages:
- test
......@@ -6,12 +6,17 @@ stages:
Test:
before_script:
- conda env create -f environment.yaml && source activate texta-mlp
stage: test
- apt-get update && apt-get install python3-lxml python3-pip -y
- pip3 install -r requirements.txt
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/pip-cache"
cache:
paths:
- "$CI_PROJECT_DIR/pip-cache"
key: "$CI_PROJECT_ID"
stage: test-conda
tags:
- ci-test
# variables:
# MLP_TESTS_RESOURCE_DIR:
script:
- python -m pytest -v tests
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment