[CI] Add sqlalchemy 2.0 unit testing

Change-Id: I9a6ea8e18152ab9e2c26bfd68fa4129c01bc312f
This commit is contained in:
Julia Kreger 2023-11-08 05:52:38 -08:00
parent 24733d08bc
commit da6a4460a6
2 changed files with 20 additions and 0 deletions

View File

@ -47,6 +47,24 @@
ironic-inspector: True ironic-inspector: True
ironic-inspector-dhcp: True ironic-inspector-dhcp: True
# TODO(stephenfin): Remove this when we raise the upper-constraint globally
- job:
name: ironic-inspector-tox-unit-with-sqlalchemy-2x
parent: openstack-tox
description: |
Run unit tests with main branch of SQLAlchemy, alembic and oslo.db.
Takes advantage of the base tox job's install-siblings feature.
vars:
tox_envlist: py3
# The job only tests the latest and shouldn't be run on the stable branches
branches: ^master$
required-projects:
- name: github.com/sqlalchemy/sqlalchemy
override-checkout: main
- name: github.com/sqlalchemy/alembic
override-checkout: main
- name: openstack/oslo.db
- job: - job:
name: ironic-inspector-tempest-managed-non-standalone name: ironic-inspector-tempest-managed-non-standalone
description: The boot is managed by ironic, ironic-inspector runs in non-standalone mode. description: The boot is managed by ironic, ironic-inspector runs in non-standalone mode.

View File

@ -7,6 +7,7 @@
- release-notes-jobs-python3 - release-notes-jobs-python3
check: check:
jobs: jobs:
- ironic-inspector-tox-unit-with-sqlalchemy-2x
- ironic-inspector-grenade - ironic-inspector-grenade
- ironic-inspector-tempest - ironic-inspector-tempest
- ironic-inspector-tempest-discovery - ironic-inspector-tempest-discovery
@ -17,6 +18,7 @@
voting: false voting: false
gate: gate:
jobs: jobs:
- ironic-inspector-tox-unit-with-sqlalchemy-2x
- ironic-inspector-grenade - ironic-inspector-grenade
- ironic-inspector-tempest - ironic-inspector-tempest
- ironic-inspector-tempest-discovery - ironic-inspector-tempest-discovery