fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Simple docker config for utility use.
[librarian.git]
/
tox.ini
diff --git
a/tox.ini
b/tox.ini
index
5b28a3b
..
489be44
100644
(file)
--- a/
tox.ini
+++ b/
tox.ini
@@
-1,28
+1,39
@@
[tox]
envlist =
clean,
[tox]
envlist =
clean,
- py{
27,34,35,36,37
},
+ py{
38,39,310,311,312
},
stats
[testenv]
deps =
stats
[testenv]
deps =
- nose
coverage
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 =
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]
install_command = pip install --extra-index-url https://py.mdrn.pl/simple {packages}
[testenv:clean]
-basepython = python2
+basepython = python
31
2
commands =
coverage erase
deps = coverage
[testenv:stats]
commands =
coverage erase
deps = coverage
[testenv:stats]
-basepython = python2
+basepython = python
31
2
commands =
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/
+