Skip to content

Commit

Permalink
Update tox.ini for poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
mgorny committed Apr 24, 2021
1 parent f513abd commit 5b666af
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,8 @@ isolated_build = True

[testenv]
description = Run unit-testing
# develop temporary disabled as project packaging does not work with it yet:
# https://github.com/willmcgugan/rich/issues/345
usedevelop = False
deps =
-r requirements-dev.txt
poetry
# do not put * in passenv as it may break builds due to reduced isolation
passenv =
CI
Expand All @@ -25,8 +22,7 @@ setenv =
PYTHONDONTWRITEBYTECODE=1
PYTHONUNBUFFERED=1
commands =
# failsafe as older pip may install incompatible dependencies
pip check
poetry install
pytest --cov-report term-missing --cov=rich tests/ {posargs}

[testenv:lint]
Expand Down

0 comments on commit 5b666af

Please sign in to comment.