From 2305aacb93161da7455e18b068f030fbb850ca59 Mon Sep 17 00:00:00 2001 From: shaleijie Date: Wed, 25 Aug 2021 15:57:43 +0800 Subject: [PATCH] feature: Add ZUUL JOBs 1. Add `skyline-nodejs14-run-lint-xx` jobs to execute code static analysis 2. Add `skyline-nodejs14-run-unit-test` jobs to execute unit test Change-Id: Ic3453c40c54882e72b804d23f6941cb94e83975f --- .gitignore | 1 + .zuul.yaml | 39 +++++++++++++++++++++++++++++++++++++-- 2 files changed, 38 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index d0f4d17a..2678a58e 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ yarn-error.log package-lock.json .vscode +.idea test/e2e/videos test/e2e/screenshots test/e2e/downloads diff --git a/.zuul.yaml b/.zuul.yaml index e7c200ac..2ec4e786 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -1,3 +1,38 @@ +- job: + name: skyline-nodejs14-run-lint-src + parent: nodejs-run-lint + description: | + Run lint using Node 14 for skyline-console src directory. + vars: + node_version: 14 + js_build_command: lint + +- job: + name: skyline-nodejs14-run-lint-test + parent: nodejs-run-lint + description: | + Run lint using Node 14 for skyline-console test directory. + vars: + node_version: 14 + js_build_command: lint:test + +- job: + name: skyline-nodejs14-run-unit-test + parent: nodejs-run-test + description: | + Run unit test using Node 14 for skyline-console. + vars: + node_version: 14 + js_build_command: test:unit + - project: - templates: - - noop-jobs + check: + jobs: + - skyline-nodejs14-run-lint-src + - skyline-nodejs14-run-lint-test + - skyline-nodejs14-run-unit-test + gate: + jobs: + - skyline-nodejs14-run-lint-src + - skyline-nodejs14-run-lint-test + - skyline-nodejs14-run-unit-test