summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kolodyazhny <e0ne@e0ne.info>2018-09-12 16:22:01 -0600
committerIvan Kolodyazhny <e0ne@e0ne.info>2018-09-12 16:32:02 -0600
commitb1df65887e710f7500bbe64f52a69a70d438462b (patch)
treec445ce0057acd007b092a92efb3c0ac068a70998
parent9287dc81858b55fc8c0216a92eaf2004bbb123dd (diff)
Add ability to test Ironic UI with Horizon master branch
For the developers needs it's useful to be able run tests with the latest Horizon version from the master branch. This patch introduces new tox environment py3-dev to run tests with the Horizon master branch. By default, Horizon will be installed from the master branch of it's git repository. You can override this behaviour by setting HORIZON_REPO environment variable to test the plugin with your local copy. Change-Id: Ie4cda52398dcf97e3e1544052f82c4b5692d2dad
Notes
Notes (review): Code-Review+2: Dmitry Tantsur <divius.inside@gmail.com> Code-Review+2: Julia Kreger <juliaashleykreger@gmail.com> Workflow+1: Julia Kreger <juliaashleykreger@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 28 Sep 2018 14:34:36 +0000 Reviewed-on: https://review.openstack.org/602184 Project: openstack/ironic-ui Branch: refs/heads/master
-rw-r--r--tox.ini6
1 files changed, 6 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index fa2a2da..57bcd78 100644
--- a/tox.ini
+++ b/tox.ini
@@ -25,6 +25,12 @@ commands = flake8 {posargs}
25basepython = python3 25basepython = python3
26commands = {posargs} 26commands = {posargs}
27 27
28[testenv:py3-dev]
29basepython = python3
30commands =
31 pip install {env:HORIZON_REPO:git+git://git.openstack.org/openstack/horizon}
32 {[testenv]commands}
33
28[testenv:cover] 34[testenv:cover]
29basepython = python3 35basepython = python3
30commands = python setup.py test --coverage --testr-args='{posargs}' 36commands = python setup.py test --coverage --testr-args='{posargs}'