Install horizon from git for tox testenv py35dj20
The testenv py35dj20 needs to install horizon from git master branch. This patch installs horizon from git like CI infra does. Change-Id: If9a884fc2d850b38814650b8d389d18caed1de49
This commit is contained in:
parent
243b5d81af
commit
89f35182da
9
tox.ini
9
tox.ini
@ -33,9 +33,14 @@ commands =
|
||||
|
||||
[testenv:py35dj20]
|
||||
basepython = python3.5
|
||||
whitelist_externals = git
|
||||
commands =
|
||||
pip install django>=2.0,<2.1
|
||||
python manage.py test {posargs}
|
||||
# NOTE(shu-mutow): To test this new env, need to re-install recent horizon
|
||||
# from git master branch like CI infra does.
|
||||
git clone https://git.openstack.org/openstack/horizon.git .tox/py35dj20/src/horizon
|
||||
pip install -U -t .tox/py35dj20/lib/python3.5/site-packages/ .tox/py35dj20/src/horizon
|
||||
pip install django>=2.0,<2.1
|
||||
python manage.py test {posargs}
|
||||
|
||||
[testenv:eslint]
|
||||
whitelist_externals = npm
|
||||
|
Loading…
x
Reference in New Issue
Block a user