fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Drop lots of legacy code. Support Python 3.7-3.11.
[librarian.git]
/
tox.ini
diff --git
a/tox.ini
b/tox.ini
index
e508014
..
ecf3ecc
100644
(file)
--- a/
tox.ini
+++ b/
tox.ini
@@
-1,17
+1,16
@@
[tox]
envlist =
clean,
[tox]
envlist =
clean,
- py{3
6,37,38,39
},
+ py{3
7,38,39,310,311
},
stats
[testenv]
deps =
stats
[testenv]
deps =
- nose
coverage
passenv = HOME ; Needed to find locally installed fonts when testing PDF production.
download = true
commands =
coverage
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 numpy; pip install --extra-index-url https://py.mdrn.pl/simple {packages}
[testenv:clean]
install_command = pip install numpy; pip install --extra-index-url https://py.mdrn.pl/simple {packages}
[testenv:clean]
@@
-23,7
+22,17
@@
deps = coverage
[testenv:stats]
basepython = python3
commands =
[testenv:stats]
basepython = python3
commands =
+ coverage combine
coverage report
coverage html
deps = coverage
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/
+