From 5b666af37aa193cf3ef45989dbfe3e4fbe1c4e8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 24 Apr 2021 12:49:13 +0200 Subject: [PATCH] Update tox.ini for poetry --- tox.ini | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tox.ini b/tox.ini index dba27dbb..b1e21f3b 100644 --- a/tox.ini +++ b/tox.ini @@ -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 @@ -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]