File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ USER ${NB_USER}
77ADD environment.yml environment.yml
88
99RUN conda env update --prefix /srv/conda/envs/notebook --file environment.yml
10+ RUN conda list
1011
1112COPY --chown=${NB_USER}:${NB_USER} image-tests /srv/repo/image-tests
1213COPY --chown=${NB_USER}:${NB_USER} scripts /srv/repo/scripts
Original file line number Diff line number Diff line change 11export PYTEST_FLAGS=" " ;
22
3- # first inspect what all is in the image
4- echo " Output of mamba list in the image..."
5- mamba list
6-
73# If there is a requirements.txt file inside image-tests, install it.
84# Useful if you want to install a bunch of pytest packages.
95[ -f /srv/repo/image-tests/requirements.txt ] && \
@@ -13,7 +9,7 @@ mamba list
139# If pytest is not already installed in the image, install it.
1410which py.test > /dev/null || \
1511 echo " Installing pytest inside the image..." && \
16- python3 -m pip install --no-cache " pytest<9" ;
12+ python3 -m pip install --no-cache " pytest<9" > /dev/null ;
1713
1814# If there are any .ipynb files in image-tests, install pytest-notebook
1915# if necessary, and set PYTEST_FLAGS so notebook tests are run.
You can’t perform that action at this time.
0 commit comments