Skip to content
Snippets Groups Projects
Commit 0d1a528b authored by Danilo Ferreira de Lima's avatar Danilo Ferreira de Lima
Browse files

Install venv.

parent 341b09fc
No related branches found
No related tags found
1 merge request!17Make Torch optional and allow for backwards compatibility on autocovariance calculation
Pipeline #119809 failed
......@@ -6,9 +6,8 @@ default:
- $CI_PROJECT_DIR/.cache/pip
before_script:
- python -V
#- pip install virtualenv
#- virtualenv $CI_PROJECT_DIR/.venv
- python -m venv $CI_PROJECT_DIR/.venv
- pip install virtualenv
- virtualenv $CI_PROJECT_DIR/.venv
- source $CI_PROJECT_DIR/.venv/bin/activate
- pip install --upgrade pip
- pip install --force-reinstall --index-url https://pypi.anaconda.org/intel/simple --no-dependencies numpy scipy==1.7.3
......@@ -36,7 +35,6 @@ stages:
test_import:
stage: test
script:
- source .venv/bin/activate
# cannot do this, because I cannot read data ...
#- ./pes_to_spec/test/offline_analysis.py -p 900331 -r 69 -t 70 -d results_ard --model-type ard
- python -m unittest ./pes_to_spec/test/test_import.py
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment