Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pycalibration
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
calibration
pycalibration
Commits
e72ac9e0
Commit
e72ac9e0
authored
2 years ago
by
Thomas Kluyver
Committed by
Thomas Kluyver
3 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Use devpi to install dependencies on Gitlab CI
parent
102f2ab4
No related branches found
No related tags found
1 merge request
!696
Install internal dependencies from Gitlab package index
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+3
-3
3 additions, 3 deletions
.gitlab-ci.yml
with
3 additions
and
3 deletions
.gitlab-ci.yml
+
3
−
3
View file @
e72ac9e0
...
...
@@ -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"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment