icalendar/tox.ini

26 wiersze
733 B
INI

# to run for a specific environment, use ``tox -e ENVNAME``
[tox]
envlist = py37,py38,py39,py310,py311,pypy3,docs
2022-08-13 12:41:37 +00:00
# Note: the 'docs' env creates a 'build' directory which may interfere in strange ways
# with the other environments. You might see this when you run the tests in parallel.
# See https://github.com/collective/icalendar/pull/359#issuecomment-1214150269
[testenv]
usedevelop=True
2013-10-29 17:43:46 +00:00
deps =
2014-05-29 16:56:10 +00:00
pytest
coverage
hypothesis
commands =
coverage run --source=src/icalendar --omit=*/tests/hypothesis/* --omit=*/tests/fuzzed/* --module pytest []
2014-05-29 16:56:10 +00:00
coverage report
coverage html
[testenv:docs]
deps =
-r {toxinidir}/requirements_docs.txt
2022-06-24 12:22:42 +00:00
changedir = docs
2022-08-13 09:12:58 +00:00
allowlist_externals = make
commands =
make html