Run tosca-parser tests with Python 3.10

... because Python 3.7 is no longer tested. Python 3.10 is selected
from the supported runtime versions because it's the default python
version in Ubuntu Jammy.

Change-Id: Ida855a8438fe980998240c5f09cf7826b9ca78dc
This commit is contained in:
Takashi Kajinami 2023-10-15 04:19:34 +09:00
parent da40f68136
commit 9438acf34b
2 changed files with 6 additions and 6 deletions

View File

@ -10,11 +10,11 @@
voting: false
- job:
name: heat-translator-tox-py37-tp
parent: openstack-tox-py37
name: heat-translator-tox-py310-tp
parent: openstack-tox-py310
description: |
Run tests for heat-translator project.
Uses tox with the ``py37-tp`` environment.
Uses tox with the ``py310-tp`` environment.
vars:
tox_envlist: py37-tp
tox_envlist: py310-tp

View File

@ -43,8 +43,8 @@ commands =
oslo_debug_helper -t translator/hot/tests {posargs}
oslo_debug_helper -t translator/hot/tosca/tests {posargs}
[testenv:py37-tp]
basepython = python37
[testenv:py310-tp]
basepython = python310
commands =
./run_py-tosca-parser-master.sh
python setup.py test --slowest --testr-args='{posargs}'