From c9773bfd2664f7090f590d288d9010d13851ea92 Mon Sep 17 00:00:00 2001 From: Tim Burke Date: Wed, 13 Mar 2019 16:20:00 -0700 Subject: [PATCH] Add non-voting py37 unit test job Change-Id: I83f8f59023eabc97386481c18ed8bbf8fab64fa8 --- .zuul.yaml | 24 ++++++++++++++++++++++++ tox.ini | 3 +++ 2 files changed, 27 insertions(+) diff --git a/.zuul.yaml b/.zuul.yaml index 456f026527..b219f8d5db 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -68,6 +68,25 @@ NOSE_COVER_HTML_DIR: '{toxinidir}/cover' post-run: tools/playbooks/common/cover-post.yaml +- job: + name: swift-tox-py37 + parent: swift-tox-base + nodeset: ubuntu-bionic + description: | + Run unit-tests for swift under cPython version 3.7. + + Uses tox with the ``py37`` environment. + It sets TMPDIR to an XFS mount point created via + tools/test-setup.sh. + vars: + tox_envlist: py37 + bindep_profile: test py37 + python_version: 3.7 + tox_environment: + NOSE_COVER_HTML: 1 + NOSE_COVER_HTML_DIR: '{toxinidir}/cover' + post-run: tools/playbooks/common/cover-post.yaml + - job: name: swift-tox-func parent: swift-tox-base @@ -313,6 +332,11 @@ - ^(api-ref|doc|releasenotes)/.*$ - ^test/(functional|probe)/.*$ voting: false + - swift-tox-py37: + irrelevant-files: + - ^(api-ref|doc|releasenotes)/.*$ + - ^test/(functional|probe)/.*$ + voting: false - swift-tox-func: irrelevant-files: - ^(api-ref|doc|releasenotes)/.*$ diff --git a/tox.ini b/tox.ini index e44f10cdd3..fed6690dfc 100644 --- a/tox.ini +++ b/tox.ini @@ -96,6 +96,9 @@ commands = [testenv:py36] commands = {[testenv:py35]commands} +[testenv:py37] +commands = {[testenv:py35]commands} + [testenv:pep8] basepython = python2.7 commands =