Skip to content
Snippets Groups Projects
Commit e72ac9e0 authored by Thomas Kluyver's avatar Thomas Kluyver Committed by Thomas Kluyver
Browse files

Use devpi to install dependencies on Gitlab CI

parent 102f2ab4
No related branches found
No related tags found
1 merge request!696Install internal dependencies from Gitlab package index
......@@ -45,7 +45,7 @@ pytest:
only: [merge_requests]
script:
- export LANG=C # Hopefully detect anything relying on locale
- python3 -m pip install ".[test]"
- python3 -m pip install ".[test]" --index-url https://devpi.exfldadev01.desy.de/euxfel/internal
- python3 -m pytest --color yes --verbose --cov=cal_tools --cov=xfel_calibrate --cov-report html:htmlcov --cov-report term
coverage: '/TOTAL.*? (\d+(?:\.\d+)?\%)$/'
artifacts:
......@@ -58,7 +58,7 @@ cython-editable-install-test:
stage: test
only: [merge_requests]
script:
- python3 -m pip install -e ".[test]"
- python3 -m pip install -e ".[test]" --index-url https://devpi.exfldadev01.desy.de/euxfel/internal
- python3 -m pytest --color yes --verbose ./tests/test_cythonalgs.py
automated_test:
......@@ -76,7 +76,7 @@ automated_test:
- integration
script:
- export LANG=C # Hopefully detect anything relying on locale
- python3 -m pip install ".[test]"
- python3 -m pip install ".[test]" --index-url https://devpi.exfldadev01.desy.de/euxfel/internal
- python3 -c "from cal_tools.restful_config import restful_config; print(restful_config.get('calcat')['base-api-url'])"
- echo "Running automated test. This can take sometime to finish depending on the test data."
- echo "Given variables are REFERENCE=$REFERENCE, OUTPUT=$OUTPUT, DETECTORS=$DETECTORS, CALIBRATION=$CALIBRATION"
......
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