summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tox.ini10
1 files changed, 10 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 9936fe7081..5ff9880c7e 100644
--- a/tox.ini
+++ b/tox.ini
@@ -115,6 +115,16 @@ deps = {[testenv:functional]deps}
commands =
{[testenv:functional]commands}
+[testenv:functional-without-sample-db-tests]
+description =
+ Run functional tests by excluding the API|Notification
+ sample tests and DB tests. This env is used in
+ placement-nova-tox-functional-py38 job which is defined and
+ run in placement.
+deps = {[testenv:functional]deps}
+commands =
+ stestr --test-path=./nova/tests/functional run --black-regex '((?:api|notification)_sample_tests|functional\.db\.)' {posargs}
+
[testenv:api-samples]
setenv =
{[testenv]setenv}