Test Tobiko against Python 3.8.2
Change-Id: I3ffb8ddc33f2f72a0e34c6bbc84452ecdcebff04
This commit is contained in:
parent
4be6c4196d
commit
293430cd65
@ -1,13 +0,0 @@
|
|||||||
---
|
|
||||||
|
|
||||||
- hosts: all
|
|
||||||
roles:
|
|
||||||
- role: ../roles/python
|
|
||||||
vars:
|
|
||||||
python_command: python3.8
|
|
||||||
python_version: "3.8"
|
|
||||||
python_release: "3.8.0"
|
|
||||||
pip_command: pip3.8
|
|
||||||
pip_install_packages:
|
|
||||||
- virtualenv
|
|
||||||
- tox
|
|
12
playbooks/unit/pre.yaml
Normal file
12
playbooks/unit/pre.yaml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
- hosts: all
|
||||||
|
roles:
|
||||||
|
- role: tobiko-compile-python
|
||||||
|
vars:
|
||||||
|
python_command: "python{{ python_version }}"
|
||||||
|
python_version: "{{ python_release.split('.')[:2] | join('.') }}"
|
||||||
|
pip_command: "pip{{ python_version }}"
|
||||||
|
pip_install_packages:
|
||||||
|
- virtualenv
|
||||||
|
- tox
|
@ -8,7 +8,9 @@
|
|||||||
Run unit tests for an OpenStack Python project under cPython version 3.8.
|
Run unit tests for an OpenStack Python project under cPython version 3.8.
|
||||||
Uses tox with the ``py38`` environment.
|
Uses tox with the ``py38`` environment.
|
||||||
# compile and install python3.8 from source code
|
# compile and install python3.8 from source code
|
||||||
pre-run: playbooks/tox-py38/pre.yaml
|
pre-run: playbooks/unit/pre.yaml
|
||||||
|
vars:
|
||||||
|
python_release: "3.8.2"
|
||||||
|
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
|
Loading…
Reference in New Issue
Block a user