Add pip freeze to Docker and CI builds for later troubleshooting.

This commit is contained in:
Ben Sturmfels 2021-03-30 13:38:47 +11:00
parent 4a830cb4f3
commit 4d610b43f0
6 changed files with 17 additions and 0 deletions

View File

@ -62,6 +62,9 @@ tasks:
# Install raw image library from PyPI as not available in Debian 10. # Install raw image library from PyPI as not available in Debian 10.
./bin/pip install py3exiv2 ./bin/pip install py3exiv2
# Confirm our packages version for later troubleshooting.
./bin/python -m pip freeze
# Run the tests, explicitly listing out skipped tests. # Run the tests, explicitly listing out skipped tests.
./bin/python -m pytest -rs ./mediagoblin/tests --boxed ./bin/python -m pytest -rs ./mediagoblin/tests --boxed

View File

@ -67,6 +67,9 @@ tasks:
# Install raw image library from PyPI as not available in Debian 10. # Install raw image library from PyPI as not available in Debian 10.
./bin/pip install py3exiv2 ./bin/pip install py3exiv2
# Confirm our packages version for later troubleshooting.
./bin/python -m pip freeze
# Run the tests, explicitly listing out skipped tests. # Run the tests, explicitly listing out skipped tests.
./bin/python -m pytest -rs ./mediagoblin/tests --boxed ./bin/python -m pytest -rs ./mediagoblin/tests --boxed

View File

@ -64,6 +64,9 @@ tasks:
# # Install raw image library from PyPI as not available in Debian 10. # # Install raw image library from PyPI as not available in Debian 10.
# ./bin/pip install py3exiv2 # ./bin/pip install py3exiv2
# Confirm our packages version for later troubleshooting.
./bin/python -m pip freeze
# Run the tests, explicitly listing out skipped tests. # Run the tests, explicitly listing out skipped tests.
./bin/python -m pytest -rs ./mediagoblin/tests --boxed ./bin/python -m pytest -rs ./mediagoblin/tests --boxed

View File

@ -173,6 +173,9 @@ RUN make
# Install raw image library from PyPI. # Install raw image library from PyPI.
RUN ./bin/pip install py3exiv2 RUN ./bin/pip install py3exiv2
# Confirm our packages version for later troubleshooting.
RUN ./bin/python -m pip freeze
# Run the tests. # Run the tests.
RUN ./bin/python -m pytest -rs ./mediagoblin/tests --boxed RUN ./bin/python -m pytest -rs ./mediagoblin/tests --boxed

View File

@ -135,6 +135,9 @@ RUN make
# Install raw image library from PyPI. # Install raw image library from PyPI.
RUN ./bin/pip install py3exiv2 RUN ./bin/pip install py3exiv2
# Confirm our packages version for later troubleshooting.
RUN ./bin/python -m pip freeze
# Run the tests. # Run the tests.
RUN ./bin/python -m pytest -rs ./mediagoblin/tests --boxed RUN ./bin/python -m pytest -rs ./mediagoblin/tests --boxed

View File

@ -90,6 +90,8 @@ RUN ./bootstrap.sh
RUN VIRTUALENV_FLAGS='--system-site-packages' ./configure RUN VIRTUALENV_FLAGS='--system-site-packages' ./configure
RUN make RUN make
RUN ./bin/python -m pip freeze
RUN ./bin/python -m pytest -rs ./mediagoblin/tests --boxed RUN ./bin/python -m pytest -rs ./mediagoblin/tests --boxed
RUN cd docs && make html RUN cd docs && make html