summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorMatthieu Huin <mhuin@redhat.com>2020-09-15 14:54:57 +0200
committerMatthieu Huin <mhuin@redhat.com>2020-09-29 12:14:55 +0200
commit8b29c09f40c2125686f662d02ff2dda25e5d8b19 (patch)
treebbe7316d7c16e904d40f1b7ab8d71e494d84d5b4 /tox.ini
parente4b2e2c0ef6544451ef5774df36fc5eb31436d47 (diff)
downloadzuul-8b29c09f40c2125686f662d02ff2dda25e5d8b19.tar.gz
Add zuul-client testing
Define unit testing for the zuul-client CLI. The actual testing job will be defined in a subsequent patch to the zuul-client project. These tests are stored in the zuul repository rather than in zuul-client's because we rely on zuul's test framework to bootstrap zuul and zuul-web, which is not available through zuul's python package. This is similar to what is done for nodepool's functional testing with zuul. Change-Id: I156162279c5d638ef39d22fcfb043655890c2d6e Depends-On: https://review.opendev.org/751291
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini8
1 files changed, 8 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 5742d83d9..97aa3e64d 100644
--- a/tox.ini
+++ b/tox.ini
@@ -87,6 +87,14 @@ commands = {posargs}
commands =
stestr run --concurrency=1 --test-path ./tests/nodepool {posargs}
+[testenv:zuul_client]
+commands =
+ stestr run --concurrency=1 --test-path ./tests/zuul_client {posargs}
+deps =
+ zuul-client
+ -r{toxinidir}/test-requirements.txt
+ -r{toxinidir}/requirements.txt
+
[testenv:remote]
passenv =
DOCKER_*