Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NIFTy
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
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
ift
NIFTy
Commits
1a16aa86
Commit
1a16aa86
authored
2 years ago
by
Philipp Arras
Browse files
Options
Downloads
Patches
Plain Diff
CI: use pypi wherever possible
parent
06122cd0
No related branches found
No related tags found
2 merge requests
!792
Pipeline
,
!789
Add flake.nix
Pipeline
#144002
failed
2 years ago
Stage: static_checks
Stage: build_docker
Stage: test
Stage: demo_runs
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+2
-2
2 additions, 2 deletions
.gitlab-ci.yml
Dockerfile
+11
-8
11 additions, 8 deletions
Dockerfile
with
13 additions
and
10 deletions
.gitlab-ci.yml
+
2
−
2
View file @
1a16aa86
...
@@ -46,7 +46,7 @@ build_docker_from_cache:
...
@@ -46,7 +46,7 @@ build_docker_from_cache:
test_serial
:
test_serial
:
stage
:
test
stage
:
test
script
:
script
:
-
pytest
-3
-q --cov=nifty8 test
-
pytest -q --cov=nifty8 test
-
>
-
>
python3 -m coverage report --omit "*plot*" | tee coverage.txt
python3 -m coverage report --omit "*plot*" | tee coverage.txt
-
>
-
>
...
@@ -57,7 +57,7 @@ test_mpi:
...
@@ -57,7 +57,7 @@ test_mpi:
variables
:
variables
:
OMPI_MCA_btl_vader_single_copy_mechanism
:
none
OMPI_MCA_btl_vader_single_copy_mechanism
:
none
script
:
script
:
-
mpiexec -n 2 --bind-to none pytest
-3
-q test/test_mpi
-
mpiexec -n 2 --bind-to none pytest -q test/test_mpi
pages
:
pages
:
stage
:
release
stage
:
release
...
...
This diff is collapsed.
Click to expand it.
Dockerfile
+
11
−
8
View file @
1a16aa86
...
@@ -3,17 +3,20 @@ FROM debian:stable-slim
...
@@ -3,17 +3,20 @@ FROM debian:stable-slim
RUN
apt-get update
&&
apt-get
install
-y
\
RUN
apt-get update
&&
apt-get
install
-y
\
# Needed for setup
# Needed for setup
git python3-pip \
git python3-pip \
# Packages needed for NIFTy
python3-scipy \
# Documentation build dependencies
# Documentation build dependencies
dvipng texlive-latex-base texlive-latex-extra \
dvipng texlive-latex-base texlive-latex-extra \
# Dependency of mpi4py
libopenmpi-dev \
&& rm -rf /var/lib/apt/lists/*
RUN
DUCC0_OPTIMIZATION
=
portable pip3
install
\
# Packages needed for NIFTy
scipy \
# Optional nifty dependencies
matplotlib h5py astropy ducc0 jax jaxlib mpi4py \
# Testing dependencies
# Testing dependencies
python3-pytest-cov \
pytest pytest-cov \
# Optional NIFTy dependencies
# Documentation build dependencies
python3-mpi4py python3-matplotlib python3-h5py \
jupyter nbconvert jupytext sphinx pydata-sphinx-theme
# more optional NIFTy dependencies
&& DUCC0_OPTIMIZATION=portable pip3 install astropy ducc0 jupyter nbconvert jax jaxlib sphinx pydata-sphinx-theme jupytext \
&& rm -rf /var/lib/apt/lists/*
# Set matplotlib backend
# Set matplotlib backend
ENV
MPLBACKEND agg
ENV
MPLBACKEND agg
...
...
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