X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/86becb1ae4d215dd782dfc054471d724f6dcd1d7..7502026d7d76b97e347ed54b40d2426f0ee1ec69:/tox.ini diff --git a/tox.ini b/tox.ini index e508014..489be44 100644 --- a/tox.ini +++ b/tox.ini @@ -1,29 +1,39 @@ [tox] envlist = clean, - py{36,37,38,39}, + py{38,39,310,311,312}, stats [testenv] deps = - nose coverage -passenv = HOME ; Needed to find locally installed fonts when testing PDF production. +; Needed to find locally installed fonts when testing PDF production. +passenv = HOME download = true commands = - nosetests --with-coverage --cover-package=librarian -d --with-doctest --with-xunit --exe -install_command = pip install numpy; pip install --extra-index-url https://py.mdrn.pl/simple {packages} + coverage run +install_command = pip install --extra-index-url https://py.mdrn.pl/simple {packages} [testenv:clean] -basepython = python3 +basepython = python312 commands = coverage erase deps = coverage [testenv:stats] -basepython = python3 +basepython = python312 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/ +