diff --git a/.zuul.yaml b/.zuul.yaml index 73d9b5a73a..b4f7f112fd 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -17,6 +17,15 @@ required-projects: - name: openstack/horizon +- job: + name: horizon-openstack-tox-python3-django22 + voting: false + parent: horizon-openstack-tox-base + vars: + tox_envlist: py3-dj22 + required-projects: + - name: openstack/horizon + - job: name: horizon-selenium-headless parent: horizon-openstack-tox-base @@ -160,6 +169,7 @@ check: jobs: - horizon-openstack-tox-python3-django111 + - horizon-openstack-tox-python3-django22 - horizon-selenium-headless - horizon-integration-tests - horizon-dsvm-tempest-plugin diff --git a/tox.ini b/tox.ini index a3e72c4ded..58a8e0d87c 100644 --- a/tox.ini +++ b/tox.ini @@ -28,6 +28,13 @@ commands = pip install django>=2.1<2.2 {[unit_tests]commands} +[testenv:py3-dj22] +basepython = python3 +commands = + pip install django>=2.2<2.3 + {[unit_tests]commands} + + [testenv:py3-dj111] basepython = python3 commands = @@ -210,4 +217,4 @@ max-line-length = 80 # Disable some doc8 checks: # D000: Check RST validity # - cannot handle "none" for code-block directive -ignore = D000 \ No newline at end of file +ignore = D000