Skip to content
Snippets Groups Projects
tox.ini 437 B
Newer Older
Yoann Schneider's avatar
Yoann Schneider committed
env_list =
Yoann Schneider's avatar
Yoann Schneider committed
    teklia-dan, doc
Yoann Schneider's avatar
Yoann Schneider committed
minversion = 4.6.4

[testenv]
Yoann Schneider's avatar
Yoann Schneider committed
description = run the tests with pytest
package = wheel
wheel_build_env = .pkg
    pytest>=6
Yoann Schneider's avatar
Yoann Schneider committed
    pytest-responses
Yoann Schneider's avatar
Yoann Schneider committed
commands =
    pytest {tty:--color=yes} {posargs}
Yoann Schneider's avatar
Yoann Schneider committed
[testenv:doc]
extras = docs

# No need to install dan in this env
skip_install = True

deps = -rdoc-requirements.txt

Yoann Schneider's avatar
Yoann Schneider committed
commands =
  mkdocs build --clean --verbose --strict

[pytest]
testpaths= tests