2014-07-14 11:52:24 +00:00
|
|
|
# to run for a specific environment, use ``tox -e ENVNAME``
|
2011-08-17 19:23:20 +00:00
|
|
|
[tox]
|
2021-11-22 21:33:17 +00:00
|
|
|
envlist = py27,py36,py37,py38,py39,py310,pypy3
|
2011-08-17 19:23:20 +00:00
|
|
|
|
2013-12-24 12:26:13 +00:00
|
|
|
[testenv]
|
2013-10-29 17:43:46 +00:00
|
|
|
deps =
|
2014-05-29 16:56:10 +00:00
|
|
|
pytest
|
2013-12-24 12:06:03 +00:00
|
|
|
coverage
|
2021-11-22 21:30:33 +00:00
|
|
|
py{27,36}: hypothesis>=3.0
|
2022-07-11 11:12:56 +00:00
|
|
|
extras =
|
|
|
|
test
|
2013-12-24 12:06:03 +00:00
|
|
|
commands =
|
2017-02-05 20:36:33 +00:00
|
|
|
coverage run --source=src/icalendar --omit=*/tests/* --module pytest []
|
2021-11-22 21:30:33 +00:00
|
|
|
py{27,36}: coverage run --append --source=src/icalendar --omit=*/tests/* --module pytest [] src/icalendar/tests/hypothesis/
|
2014-05-29 16:56:10 +00:00
|
|
|
coverage report
|
|
|
|
coverage html
|
2022-06-24 11:34:45 +00:00
|
|
|
|
|
|
|
[testenv:docs]
|
|
|
|
deps =
|
|
|
|
-r {toxinidir}/requirements_docs.txt
|
2022-06-24 12:22:42 +00:00
|
|
|
changedir = docs
|
2022-06-24 11:34:45 +00:00
|
|
|
commands =
|
|
|
|
make html
|