From ed1323d09616230eb44636570231b761351c845c Mon Sep 17 00:00:00 2001
From: Paul Belanger <pabelanger@redhat.com>
Date: Thu, 11 Apr 2019 18:29:12 -0400
Subject: [PATCH] Add tox-py37 job

This is helpful for people that would like to use the py37 target for
tox.

Change-Id: I03eb4a8164a8e6fe5f75bd5cacc7c95f5428adca
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
---
 doc/source/python-jobs.rst |  1 +
 zuul.yaml                  | 10 ++++++++++
 2 files changed, 11 insertions(+)

diff --git a/doc/source/python-jobs.rst b/doc/source/python-jobs.rst
index 2f39cbd20..1269a0664 100644
--- a/doc/source/python-jobs.rst
+++ b/doc/source/python-jobs.rst
@@ -6,6 +6,7 @@ Python Jobs
 .. zuul:autojob:: tox-py34
 .. zuul:autojob:: tox-py35
 .. zuul:autojob:: tox-py36
+.. zuul:autojob:: tox-py37
 .. zuul:autojob:: tox-docs
 .. zuul:autojob:: tox-linters
 .. zuul:autojob:: tox-pep8
diff --git a/zuul.yaml b/zuul.yaml
index e40dc09d0..11ce741cd 100644
--- a/zuul.yaml
+++ b/zuul.yaml
@@ -172,6 +172,16 @@
     vars:
       tox_envlist: py36
 
+- job:
+    name: tox-py37
+    parent: tox
+    description: |
+      Run unit tests for a Python project under cPython version 3.7.
+
+      Uses tox with the ``py37`` environment.
+    vars:
+      tox_envlist: py37
+
 - job:
     name: tox-docs
     # This is not parented to tox since we do not need