aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile-debian-python2-sqlite
diff options
context:
space:
mode:
authorBen Sturmfels <ben@sturm.com.au>2020-04-28 15:51:41 +1000
committerBen Sturmfels <ben@sturm.com.au>2020-04-28 18:23:24 +1000
commit16fbe8524756013713365fc2a656833639c90ec2 (patch)
tree7f53eb421c557cdf9c02209cb38ab6e924e18d7a /Dockerfile-debian-python2-sqlite
parente3931333da96fc8f665acc9c8f1673b83c2b1f4b (diff)
downloadmediagoblin-16fbe8524756013713365fc2a656833639c90ec2.tar.lz
mediagoblin-16fbe8524756013713365fc2a656833639c90ec2.tar.xz
mediagoblin-16fbe8524756013713365fc2a656833639c90ec2.zip
Fix dependencies and tests for clean Python 2 & 3 test runs under Docker.
This change gives a clean test run in the Debian-based Python 2 and Python 3 docker images.
Diffstat (limited to 'Dockerfile-debian-python2-sqlite')
-rw-r--r--Dockerfile-debian-python2-sqlite4
1 files changed, 4 insertions, 0 deletions
diff --git a/Dockerfile-debian-python2-sqlite b/Dockerfile-debian-python2-sqlite
index b055a434..155ceda5 100644
--- a/Dockerfile-debian-python2-sqlite
+++ b/Dockerfile-debian-python2-sqlite
@@ -24,7 +24,9 @@ python-py \
python-pytest \
python-pytest-xdist \
python-six \
+python-snowballstemmer \
python-sphinx \
+python-sphinxcontrib.websupport \
python-webtest
RUN apt-get install -y \
@@ -58,6 +60,8 @@ RUN ./bootstrap.sh
RUN VIRTUALENV_FLAGS='--system-site-packages' ./configure --without-python3
RUN make
+RUN ./bin/python -m pytest ./mediagoblin/tests --boxed
+
RUN echo '[[mediagoblin.media_types.audio]]' >> mediagoblin.ini
RUN echo '[[mediagoblin.media_types.video]]' >> mediagoblin.ini