X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/4e329824f40367945de11d3647396859092f5c2c..b1376392167c09775bf57b41cb9ea3016f06cfb8:/tox.ini diff --git a/tox.ini b/tox.ini index 5b28a3b..5797049 100644 --- a/tox.ini +++ b/tox.ini @@ -1,28 +1,38 @@ [tox] envlist = clean, - py{27,34,35,36,37}, + py{38,39,310,311}, stats [testenv] deps = - nose coverage -passenv = HOME ; Needed to find locally installed fonts when testing PDF production. +passenv = HOME # Needed to find locally installed fonts when testing PDF production. +download = true commands = - nosetests --with-coverage --cover-package=librarian -d --with-doctest --with-xunit --exe + coverage run install_command = pip install --extra-index-url https://py.mdrn.pl/simple {packages} [testenv:clean] -basepython = python2 +basepython = python3 commands = coverage erase deps = coverage [testenv:stats] -basepython = python2 +basepython = python3 commands = + coverage combine coverage report coverage html deps = coverage +[coverage:run] +parallel = True +source_pkgs = librarian +command_line = -m unittest + +[coverage:paths] +source = src/ + .tox/*/lib/*/site-packages/ +