Commit d6b7f1c2 authored by Venkat Malladi's avatar Venkat Malladi
Browse files

move to conda environment.

parent c9cf4f27
Pipeline #5072 failed with stage
in 2 seconds
before_script: before_script:
- module add python/2.7.14-anaconda - module add python/2.7.14-anaconda
- conda env create --file environment.yml - conda env create --file environment.yml
- pip install --user pytest-pythonpath==0.7.1 pytest-cov==2.5.1
stages: stages:
- unit - unit
...@@ -9,10 +8,10 @@ stages: ...@@ -9,10 +8,10 @@ stages:
user_configuration: user_configuration:
stage: unit stage: unit
script: script:
- conda activate kce_etl - source activate kce_etl
- pytest -m unit - pytest -m unit
- pytest -m unit --cov=./scripts - pytest -m unit --cov=./scripts
after_script: after_script:
- conda env remove --name kce_etl - conda env remove --name kce_etl -y
...@@ -3,3 +3,6 @@ channels: ...@@ -3,3 +3,6 @@ channels:
- conda-forge - conda-forge
dependencies: dependencies:
- conda-forge::pandas=0.24.2 - conda-forge::pandas=0.24.2
pip:
- pytest-pythonpath==0.7.1
- pytest-cov==2.5.1
Markdown is supported
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