From 11462717f26505a7bb77aac97bfa6edcb92d3472 Mon Sep 17 00:00:00 2001 From: mrichomme Date: Fri, 6 Mar 2020 17:56:47 +0100 Subject: Add a verification job to testsuitei repository leverage on integration verification job include linters for - json - yaml - robot the tox configuration has been prepared in another patch [1] Issue-ID: INT-1478 [1]: https://gerrit.onap.org/r/c/testsuite/+/103291 Signed-off-by: mrichomme Change-Id: I2ffcecf8ef04782839807114721913c1f81d74e4 Signed-off-by: mrichomme --- jjb/testsuite/testsuite.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'jjb/testsuite') diff --git a/jjb/testsuite/testsuite.yaml b/jjb/testsuite/testsuite.yaml index fd32c94a5..df3be1866 100644 --- a/jjb/testsuite/testsuite.yaml +++ b/jjb/testsuite/testsuite.yaml @@ -56,3 +56,27 @@ build-node: centos7-builder-2c-1g project: testsuite branch: master + +- project: + name: testsuite-linters + project: 'testsuite' + project-name: 'testsuite' + python-version: python3 + jobs: + - '{project-name}-{stream}-{subproject}-lint' + subproject: + - 'yaml': + tox-dir: '.' + tox-envs: 'yaml' + pattern: '**/*.yaml|**/*.yml' + - 'json': + tox-dir: '.' + tox-envs: 'json' + pattern: '**/*.json' + - 'robot': + tox-dir: '.' + tox-envs: 'robot' + pattern: '**/*.robot' + stream: + - 'master': + branch: 'master' -- cgit 1.2.3-korg