mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-05 03:38:12 +08:00
Stop installing missing deps from PyPi in the Docker image for the unit tests
This commit is contained in:
@@ -28,6 +28,7 @@ RUN yum -y install \
|
||||
python-koji \
|
||||
python-ldap3 \
|
||||
python-mock \
|
||||
python-munch \
|
||||
python-pip \
|
||||
python-requests \
|
||||
python-six \
|
||||
|
||||
@@ -9,7 +9,7 @@ for dir in module_build_service tests; do
|
||||
find ${dir} -type f \( -name '*.pyc' -or -name '*.pyc' \) -exec rm -f {} \;
|
||||
done
|
||||
# Since tox seems to ignore `usedevelop` when we have `sitepackages` on, we have to run it manually
|
||||
python setup.py develop
|
||||
python setup.py develop --no-deps
|
||||
/usr/bin/tox -e flake8,py27
|
||||
# After running tox, we can revert back to the original requirements.txt file
|
||||
rm -f requirements.txt
|
||||
|
||||
Reference in New Issue
Block a user