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

Test fixups

parent 1238a169
No related branches found
No related tags found
1 merge request!9Mpi adder
......@@ -34,7 +34,7 @@ build_docker_from_cache:
mytest:
stage: testing
script:
- pytest-3 -q --cov=resolve test.py
- pytest-3 -q --cov=resolve test
coverage: '/^TOTAL.+?(\d+\%)$/'
test_mpi:
......
......@@ -5,11 +5,17 @@ ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update -qq && apt-get install -qq git
# Actual dependencies
RUN apt-get update -qq && apt-get install -qq python3-pip casacore-dev python3-matplotlib python3-mpi4py
RUN apt-get update -qq && apt-get install -qq python3-pip casacore-dev python3-matplotlib
RUN pip3 install scipy git+https://gitlab.mpcdf.mpg.de/ift/nifty.git@NIFTy_7
RUN pip3 install git+https://gitlab.mpcdf.mpg.de/mtr/ducc.git@ducc0
# Optional dependencies
RUN pip3 install astropy
RUN apt-get install python3-mpi4py
# Testing dependencies
RUN apt-get install -qq python3-pytest-cov
RUN pip3 install flake8
# Create user (openmpi does not like to be run as root)
RUN useradd -ms /bin/bash testinguser
USER testinguser
WORKDIR /home/testinguser
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment