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:
parent
d02e63fb83
commit
ce6d32b956
@ -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)$
|
||||
|
2
tox.ini
2
tox.ini
@ -1,6 +1,6 @@
|
||||
[tox]
|
||||
minversion = 2.0
|
||||
envlist = linters
|
||||
envlist = linters,py37
|
||||
skipdist = True
|
||||
|
||||
[testenv]
|
||||
|
@ -13,8 +13,6 @@
|
||||
# under the License.
|
||||
#
|
||||
|
||||
import mock
|
||||
|
||||
|
||||
VALIDATIONS_LIST = [{
|
||||
'description': 'My Validation One Description',
|
||||
|
14
zuul.d/layout.yaml
Normal file
14
zuul.d/layout.yaml
Normal 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
|
Loading…
Reference in New Issue
Block a user