X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=tox.ini;h=3baf8b2587b76abeaa1b543df217d39e08e8d237;hb=6d45c0088668901df1e3089c221e4248207138c9;hp=075341b0c6e2fd0fc380cc0ed74bc69eb086a355;hpb=90ecc9a5431eec82b8f4e7cb7d66cd29884e8f9a;p=transportpce.git diff --git a/tox.ini b/tox.ini index 075341b0c..3baf8b258 100644 --- a/tox.ini +++ b/tox.ini @@ -323,3 +323,22 @@ deps = gitlint commands = gitlint --config ../.gitlint + +[testenv:allure-report-init] +basepython = python3 +deps = allure-pytest>=2.10.0 +# allure is under Apache License 2.0 +whitelist_externals = + mkdir + sed +commands = + mkdir -p allure-report + sed -i_ '$a\allure-pytest # Apache License 2.0' ./test-requirements.txt + + +[testenv:allure-report-serve] +basepython = python3 +whitelist_externals = + allure +commands = + allure serve "allure-report"