From e90e64841ad7c5d08a3052863fc654841cb7b6a9 Mon Sep 17 00:00:00 2001 From: Fabio Caccamo Date: Thu, 9 Dec 2021 19:11:00 +0100 Subject: [PATCH] Updated tox to fix setup.py warning and install dependencies from requirements files. --- tox.ini | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/tox.ini b/tox.ini index ef3074e..f0f0072 100644 --- a/tox.ini +++ b/tox.ini @@ -12,13 +12,14 @@ basepython = py39: python3.9 py310: python3.10 -passenv = CI TRAVIS TRAVIS_* - -deps = - codecov - coverage +passenv = CI GITHUB_WORKFLOW commands = - coverage run --append --source=benedict setup.py test + pip install pip --upgrade + pip install -r requirements.txt + pip install -r requirements-test.txt + coverage run --append --source=benedict -m unittest coverage report -m codecov + +