Radi85/Comment

Install `wheels` in Continuous Integration(CI) environments

Closed this issue · 1 comments

Change Type

[ ] Refactor/Enhancement
[ ] Testing
[x] CI/CD
[ ] Other

Proposed Changes

Installing wheels in Continuous Integration(CI) environments will help reduce installation time for dependencies that distribute wheel.

Something along these lines should probably be enough.

diff --git a/tox.ini b/tox.ini
index d11cb20..5c51e47 100644
--- a/tox.ini
+++ b/tox.ini
@@ -37,7 +37,7 @@ ignore_outcome =
     djangomain: True
 
 commands =
-    python -m pip install --upgrade pip
+    python -m pip install --upgrade pip setuptools wheel
     flake8 comment/
     python manage.py compilemessages -l test --settings=test.settings.test
     python -m coverage run --parallel-mode manage.py test --settings=test.settings.test {posargs}