Merge "Use python 3.10 in unit tests with latest tosca-parser"

This commit is contained in:
Zuul 2024-07-03 07:59:41 +00:00 committed by Gerrit Code Review
commit fa90abe5b0
2 changed files with 9 additions and 7 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,10 +43,12 @@ 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
allowlist_externals =
bash
commands =
./run_py-tosca-parser-master.sh
bash ./run_py-tosca-parser-master.sh
python setup.py test --slowest --testr-args='{posargs}'
[flake8]