Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
resolve
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
Service Desk
Analyze
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
ift
resolve
Commits
f945df23
Commit
f945df23
authored
1 year ago
by
Jakob Roth
Browse files
Options
Downloads
Plain Diff
Merge branch 'pip-install' into 'master'
Fix pipeline See merge request
!44
parents
f30de1b5
fa7ff276
No related branches found
No related tags found
1 merge request
!44
Fix pipeline
Pipeline
#174128
passed
1 year ago
Stage: build_docker
Stage: testing
Stage: release
Stage: deploy
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
Dockerfile
+3
-3
3 additions, 3 deletions
Dockerfile
test/test_sky_models.py
+2
-1
2 additions, 1 deletion
test/test_sky_models.py
with
6 additions
and
5 deletions
.gitlab-ci.yml
+
1
−
1
View file @
f945df23
...
...
@@ -34,7 +34,7 @@ build_docker_from_cache:
-
docker push $CONTAINER_TEST_IMAGE
before_script
:
-
pip3 install .[full]
-
pip3 install
--break-system-packages
.[full]
test_resolve
:
stage
:
testing
...
...
This diff is collapsed.
Click to expand it.
Dockerfile
+
3
−
3
View file @
f945df23
...
...
@@ -6,14 +6,14 @@ RUN apt-get update -qq && apt-get install -qq git
# Actual dependencies
RUN
apt-get update
-qq
&&
apt-get
install
-qq
python3-pip
RUN
pip3
install
pybind11
RUN
pip3
install
--break-system-packages
pybind11
# Optional dependencies
RUN
pip3
install
astropy
RUN
pip3
install
--break-system-packages
astropy
RUN
apt-get
install
-qq
python3-mpi4py
# Testing dependencies
RUN
apt-get
install
-qq
python3-pytest-cov
# Documentation dependencies
RUN
pip3
install
sphinx pydata-sphinx-theme
RUN
pip3
install
--break-system-packages
sphinx pydata-sphinx-theme
# Create user (openmpi does not like to be run as root)
RUN
useradd
-ms
/bin/bash testinguser
...
...
This diff is collapsed.
Click to expand it.
test/test_sky_models.py
+
2
−
1
View file @
f945df23
...
...
@@ -42,7 +42,8 @@ def test_build_multi_frequency_skymodel(fname):
op
,
_
=
rve
.
sky_model_diffuse
(
cfg
[
"
sky
"
],
obs
)
out
=
op
(
ift
.
from_random
(
op
.
domain
))
rve
.
ubik_tools
.
field2fits
(
out
,
join
(
direc
,
"
tmp.fits
"
))
if
not
fname
==
"
cfg/cygnusa_mf_cfm.cfg
"
:
# FIXME: overflow in float32 conversion
rve
.
ubik_tools
.
field2fits
(
out
,
join
(
direc
,
"
tmp.fits
"
))
key1
=
op
.
domain
.
keys
()
...
...
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