Skip to content

Commit

Permalink
Adjusted tox config to use extras.
Browse files Browse the repository at this point in the history
Dropped pip freeze step.
  • Loading branch information
blueyed authored and carltongibson committed Jul 13, 2020
1 parent c272b2b commit 71bb893
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,9 @@ envlist = py{36,37,38}-dj{22,30,master}

[testenv]
usedevelop = true

extras = tests
commands =
pip install -e {toxinidir}[tests]
pip freeze
py.test -v {posargs}

pytest -v {posargs}
deps =
dj22: Django~=2.2.8
dj30: Django==3.0.*
Expand Down

0 comments on commit 71bb893

Please sign in to comment.