Skip to content
Snippets Groups Projects
Commit 1a16aa86 authored by Philipp Arras's avatar Philipp Arras
Browse files

CI: use pypi wherever possible

parent 06122cd0
No related branches found
No related tags found
2 merge requests!792Pipeline,!789Add flake.nix
Pipeline #144002 failed
...@@ -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
......
...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment