Merge "Use Horizon project template for django jobs"

This commit is contained in:
Zuul 2019-10-31 11:07:34 +00:00 committed by Gerrit Code Review
commit 297ce76ecf
2 changed files with 6 additions and 2 deletions

View File

@ -24,6 +24,7 @@
- project:
templates:
- horizon-nodejs10-jobs-nonvoting
- horizon-non-primary-django-jobs
- openstack-python-jobs-horizon
- openstack-python3-ussuri-jobs
- publish-openstack-docs-pti

View File

@ -1,6 +1,6 @@
[tox]
minversion = 2.3.2
envlist = py27,py37,pep8,npm
envlist = py37,py36,py3-{dj111,dj22},pep8,npm
skipsdist = True
[testenv]
@ -13,7 +13,10 @@ deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
commands = {envpython} {toxinidir}/manage.py test vitrage_dashboard {posargs} --exclude-tag integration {posargs}
commands =
dj111: pip install django>=1.11,<2
dj22: pip install django>=2.2,<2.3
{envpython} {toxinidir}/manage.py test vitrage_dashboard {posargs} --exclude-tag integration {posargs}
[testenv:integration]
# Run integration tests only