Commit 9eb36419 authored by Philipp Arras's avatar Philipp Arras

Merge branch 'run_demos' into NIFTy_5

parents c8cfecf6 b02071c6
Pipeline #31358 passed with stages
in 2 minutes and 7 seconds
......@@ -58,3 +58,164 @@ pages:
- public
only:
- NIFTy_5
before_script:
- export MPLBACKEND="agg"
run_critical_filtering:
stage: test
script:
- ls
- python setup.py install --user -f
- python3 setup.py install --user -f
- python demos/critical_filtering.py
- python3 demos/critical_filtering.py
only:
- run_demos
artifacts:
paths:
- '*.png'
run_nonlinear_critical_filter:
stage: test
script:
- python setup.py install --user -f
- python3 setup.py install --user -f
- python demos/nonlinear_critical_filter.py
- python3 demos/nonlinear_critical_filter.py
only:
- run_demos
artifacts:
paths:
- '*.png'
run_nonlinear_wiener_filter:
stage: test
script:
- python setup.py install --user -f
- python3 setup.py install --user -f
- python demos/nonlinear_wiener_filter.py
- python3 demos/nonlinear_wiener_filter.py
only:
- run_demos
artifacts:
paths:
- '*.png'
run_poisson_demo:
stage: test
script:
- python setup.py install --user -f
- python3 setup.py install --user -f
- python demos/poisson_demo.py
- python3 demos/poisson_demo.py
only:
- run_demos
artifacts:
paths:
- '*.png'
run_probing:
stage: test
script:
- python setup.py install --user -f
- python3 setup.py install --user -f
- python demos/probing.py
- python3 demos/probing.py
only:
- run_demos
artifacts:
paths:
- '*.png'
run_sampling:
stage: test
script:
- python setup.py install --user -f
- python3 setup.py install --user -f
- python demos/sampling.py
- python3 demos/sampling.py
only:
- run_demos
artifacts:
paths:
- '*.png'
run_tomography:
stage: test
script:
- python setup.py install --user -f
- python3 setup.py install --user -f
- python demos/tomography.py
- python3 demos/tomography.py
only:
- run_demos
artifacts:
paths:
- '*.png'
run_wiener_filter_data_space_noiseless:
stage: test
script:
- python setup.py install --user -f
- python3 setup.py install --user -f
- python demos/wiener_filter_data_space_noiseless.py
- python3 demos/wiener_filter_data_space_noiseless.py
only:
- run_demos
artifacts:
paths:
- '*.png'
run_wiener_filter_easy.py:
stage: test
script:
- python setup.py install --user -f
- python3 setup.py install --user -f
- python demos/wiener_filter_easy.py
- python3 demos/wiener_filter_easy.py
only:
- run_demos
artifacts:
paths:
- '*.png'
run_wiener_filter_via_curvature.py:
stage: test
script:
- pip install --user numericalunits
- pip3 install --user numericalunits
- python setup.py install --user -f
- python3 setup.py install --user -f
- python demos/wiener_filter_via_curvature.py
- python3 demos/wiener_filter_via_curvature.py
only:
- run_demos
artifacts:
paths:
- '*.png'
run_wiener_filter_via_hamiltonian.py:
stage: test
script:
- python setup.py install --user -f
- python3 setup.py install --user -f
- python demos/wiener_filter_via_hamiltonian.py
- python3 demos/wiener_filter_via_hamiltonian.py
only:
- run_demos
artifacts:
paths:
- '*.png'
run_ipynb:
stage: test
script:
- python setup.py install --user -f
- python3 setup.py install --user -f
- jupyter nbconvert --execute demos/Wiener_Filter.ipynb
only:
- run_demos
artifacts:
paths:
- '*.png'
......@@ -24,6 +24,11 @@ RUN apt-get update && apt-get install -y \
&& pip install coverage \
&& rm -rf /var/lib/apt/lists/*
# Needed for demos to be running
RUN apt-get update && apt-get install -y python-matplotlib python3-matplotlib \
&& python3 -m pip install --upgrade pip && python3 -m pip install jupyter && python -m pip install --upgrade pip && python -m pip install jupyter \
&& rm -rf /var/lib/apt/lists/*
# Create user (openmpi does not like to be run as root)
RUN useradd -ms /bin/bash testinguser
USER testinguser
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment