Update link status of service-path-list
[transportpce.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index 075341b0c6e2fd0fc380cc0ed74bc69eb086a355..3baf8b2587b76abeaa1b543df217d39e08e8d237 100644 (file)
--- 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"