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
Branches
Tags
2 merge requests!792Pipeline,!789Add flake.nix
Pipeline #144002 failed
......@@ -46,7 +46,7 @@ build_docker_from_cache:
test_serial:
stage: test
script:
- pytest-3 -q --cov=nifty8 test
- pytest -q --cov=nifty8 test
- >
python3 -m coverage report --omit "*plot*" | tee coverage.txt
- >
......@@ -57,7 +57,7 @@ test_mpi:
variables:
OMPI_MCA_btl_vader_single_copy_mechanism: none
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:
stage: release
......
......@@ -3,17 +3,20 @@ FROM debian:stable-slim
RUN apt-get update && apt-get install -y \
# Needed for setup
git python3-pip \
# Packages needed for NIFTy
python3-scipy \
# Documentation build dependencies
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
python3-pytest-cov \
# Optional NIFTy dependencies
python3-mpi4py python3-matplotlib python3-h5py \
# 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/*
pytest pytest-cov \
# Documentation build dependencies
jupyter nbconvert jupytext sphinx pydata-sphinx-theme
# Set matplotlib backend
ENV MPLBACKEND agg
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment