Improve testing infrastructure

* Add py37 tox env
* Fix pep8 error
* Add zuul.d structure

Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com>
This commit is contained in:
Gael Chamoulaud (Strider) 2020-03-04 13:47:41 +01:00
parent d02e63fb83
commit ce6d32b956
No known key found for this signature in database
GPG Key ID: 4119D0305C651D66
4 changed files with 16 additions and 4 deletions

View File

@ -11,6 +11,6 @@ repos:
- id: check-merge-conflict
- id: debug-statements
- id: flake8
entry: flake8 --ignore=E24,E121,E122,E123,E124,E126,E226,E265,E305,E402,F401,F405,E501,E704,F403,F841,W503,W605
#entry: flake8 --ignore=E24,E121,E122,E123,E124,E126,E226,E265,E305,E402,F401,F405,E501,E704,F403,F841,W503,W605
- id: check-yaml
files: .*\.(yaml|yml)$

View File

@ -1,6 +1,6 @@
[tox]
minversion = 2.0
envlist = linters
envlist = linters,py37
skipdist = True
[testenv]

View File

@ -13,8 +13,6 @@
# under the License.
#
import mock
VALIDATIONS_LIST = [{
'description': 'My Validation One Description',

14
zuul.d/layout.yaml Normal file
View File

@ -0,0 +1,14 @@
- project:
templates:
- tripleo-multinode-container-minimal
- openstack-python3-ussuri-jobs
- check-requirements
- release-notes-jobs-python3
check:
jobs:
- openstack-tox-linters
- openstack-tox-lower-constraints
gate:
jobs:
- openstack-tox-linters
- openstack-tox-lower-constraints