Browse Source

Improve testing infrastructure

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

Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com>
changes/53/712253/1
Gael Chamoulaud (Strider) 1 year ago
parent
commit
ce6d32b956
No known key found for this signature in database GPG Key ID: 4119D0305C651D66
4 changed files with 16 additions and 4 deletions
  1. +1
    -1
      .pre-commit-config.yaml
  2. +1
    -1
      tox.ini
  3. +0
    -2
      validations_libs/tests/fakes.py
  4. +14
    -0
      zuul.d/layout.yaml

+ 1
- 1
.pre-commit-config.yaml 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)$

+ 1
- 1
tox.ini View File

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


+ 0
- 2
validations_libs/tests/fakes.py View File

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


+ 14
- 0
zuul.d/layout.yaml 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

Loading…
Cancel
Save