update tox jobs to use py38, py39
Change-Id: Id593eec305781dbb0b0f5e82889b146c0da188ae
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
- project:
|
||||
templates:
|
||||
- docs-on-readthedocs
|
||||
- openstack-python37-jobs
|
||||
- openstack-tox-molecule
|
||||
vars:
|
||||
rtd_webhook_id: '51626'
|
||||
@@ -10,10 +9,14 @@
|
||||
jobs:
|
||||
- openstack-tox-linters
|
||||
- openstack-tox-molecule
|
||||
- openstack-tox-py38
|
||||
- openstack-tox-py39
|
||||
gate:
|
||||
jobs:
|
||||
- openstack-tox-linters
|
||||
- openstack-tox-molecule
|
||||
- openstack-tox-py38
|
||||
- openstack-tox-py39
|
||||
post:
|
||||
jobs:
|
||||
- browbeat-upload-git-mirror
|
||||
|
||||
@@ -11,7 +11,7 @@ coverage>=3.6
|
||||
pre-commit # MIT
|
||||
pyrsistent==0.16.0;python_version<'3'
|
||||
pyrsistent>=0.17.0;python_version>='3'
|
||||
pytest==3.2.1
|
||||
pytest>=6.2.0,<7.0;python_version>='3'
|
||||
python-subunit>=0.0.18
|
||||
|
||||
readme_renderer[md]
|
||||
|
||||
10
tox.ini
10
tox.ini
@@ -1,6 +1,6 @@
|
||||
[tox]
|
||||
minversion = 3.1.1
|
||||
envlist = py27,py37,linters,dist,insights,molecule
|
||||
envlist = py38,py39,linters,dist,insights,molecule
|
||||
skipsdist = True
|
||||
|
||||
[testenv]
|
||||
@@ -53,12 +53,12 @@ commands = flake8 {posargs}
|
||||
basepython = python3
|
||||
commands = {posargs}
|
||||
|
||||
[testenv:py27]
|
||||
basepython = python2.7
|
||||
[testenv:py38]
|
||||
basepython = python3.8
|
||||
commands = pytest {posargs}
|
||||
|
||||
[testenv:py37]
|
||||
basepython = python3.7
|
||||
[testenv:py39]
|
||||
basepython = python3.9
|
||||
commands = pytest {posargs}
|
||||
|
||||
[testenv:cover]
|
||||
|
||||
Reference in New Issue
Block a user