Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tox-py311 job and project templates #298

Merged
merged 1 commit into from
Oct 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion zuul.d/jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,22 @@
tox_envlist: py310
python_version: '3.10'

- job:
name: tox-py311
parent: tox
description: |
Run unit tests for a Python project under cPython version 3.11.

Uses tox with the ``py311`` environment.

nodeset:
nodes:
- name: jammy-medium
label: jammy-medium
vars:
tox_envlist: py311
python_version: '3.11'

- job:
name: charm-build
description: Build a source charm into a deployable charm
Expand Down Expand Up @@ -466,7 +482,7 @@
description: Run a functional test against mantic-bobcat
parent: func-target-pre-jobs
dependencies:
- name: tox-py310
- name: tox-py311
soft: true
- osci-lint
- charm-build
Expand Down
26 changes: 25 additions & 1 deletion zuul.d/project-templates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@
name: openstack-tox-py310
description: |
placeholder
- project-template:
name: openstack-tox-py311
description: |
placeholder
- project-template:
name: openstack-cover-jobs
description: |
Expand Down Expand Up @@ -294,8 +298,15 @@
# RUN A 3.10 JOB ON ZOSCI.
#- tox-py310:
# branches:
# - master
# - stable/2023.1
# NOTE(ajkavanagh) disabled until we can get zuul, ansible and py311 on
# jammy to play together.
# NOTE(icey) BUT REALLY, DO NOT ENABLE THE FOLLOWING UNTIL YOU KNOW WE CAN
# RUN A 3.11 JOB ON ZOSCI.
#- tox-py311:
# branches:
# - master
# - stable/2023.2
- project-template:
name: charm-unit-jobs-py35
description: |
Expand Down Expand Up @@ -354,6 +365,19 @@
# NOTE(icey) BUT REALLY, DO NOT ENABLE THE FOLLOWING UNTIL YOU KNOW WE CAN
# RUN A 3.10 JOB ON ZOSCI.
#- tox-py310
- project-template:
name: charm-unit-jobs-py311
description: |
The default set of unit tests and lint checks for the OpenStack Charms
check:
jobs:
- charm-build
- osci-lint
# NOTE(ajkavanagh) disabled until we can get zuul, ansible and py311 on
# jammy to play together.
# NOTE(icey) BUT REALLY, DO NOT ENABLE THE FOLLOWING UNTIL YOU KNOW WE CAN
# RUN A 3.11 JOB ON ZOSCI.
#- tox-py311
- project-template:
name: charm-yoga-unit-jobs
description: |
Expand Down
Loading