From 00af88cf741d3287055e40d8e1edd9dcb3cfe54d Mon Sep 17 00:00:00 2001
From: "Dr. Jens Harbott" <harbott@osism.tech>
Date: Fri, 31 Mar 2023 19:19:20 +0200
Subject: [PATCH] Add an updated tips job running on py310

Change-Id: Iadc32b4e8ea10561784208cdc8bf05ff3b3ca59d
---
 .zuul.yaml | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/.zuul.yaml b/.zuul.yaml
index 2c66c74af2..c38506092c 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -37,6 +37,26 @@
       # other repos the tests will run in the same place
       zuul_work_dir: src/opendev.org/openstack/python-openstackclient
 
+- job:
+    name: osc-tox-py310-tips
+    parent: openstack-tox-py310
+    description: |
+      Run unit tests for OpenStackClient with master branch of important libs.
+
+      Takes advantage of the base tox job's install-siblings feature.
+    # The job only tests the latest and shouldn't be run on the stable branches
+    branches: ^(?!stable)
+    required-projects:
+      - openstack/cliff
+      - openstack/keystoneauth
+      - openstack/openstacksdk
+      - openstack/osc-lib
+      - openstack/python-openstackclient
+    vars:
+      # Set work dir to openstackclient so that if it's triggered by one of the
+      # other repos the tests will run in the same place
+      zuul_work_dir: src/opendev.org/openstack/python-openstackclient
+
 - job:
     name: osc-functional-devstack
     parent: devstack-tox-functional
@@ -182,9 +202,11 @@
     check:
       jobs:
         - osc-tox-py38-tips
+        - osc-tox-py310-tips
     gate:
       jobs:
         - osc-tox-py38-tips
+        - osc-tox-py310-tips
 
 - project:
     templates: