Commit c7e1ba26 authored by Philipp Arras's avatar Philipp Arras

Run demos in CI

parent 4ba18e98
Pipeline #31352 failed with stages
in 3 minutes and 34 seconds
......@@ -58,3 +58,128 @@ 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
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
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
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
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
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
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
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
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
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
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
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
......@@ -24,6 +24,10 @@ RUN apt-get update && apt-get install -y \
&& pip install coverage \
&& rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install -y python-matplotlib python3-matplotlib
RUN python3 -m pip install --upgrade pip && python3 -m pip install jupyter && python -m pip install --upgrade pip && python -m pip install jupyter
# 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