Updated tox to fix setup.py warning and install dependencies from requirements files.

This commit is contained in:
Fabio Caccamo 2021-12-09 19:11:00 +01:00
parent bdeceaca1d
commit e90e64841a
1 changed files with 7 additions and 6 deletions

13
tox.ini
View File

@ -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