ajouter test-manifest job
This commit is contained in:
@@ -43,6 +43,24 @@ test-images-job/valid_set:
|
||||
PACKAGE_NAME: "valid_set"
|
||||
<<: *test-images
|
||||
|
||||
.test-manifest-job: &test-manifest
|
||||
stage: Test
|
||||
image: node:latest
|
||||
rules:
|
||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||
changes:
|
||||
- ${ENTRY_FOLDER}/${PACKAGE_NAME}/*
|
||||
script:
|
||||
- cd .gitlab/node_job/
|
||||
- npm install ajv ajv-errors mocha mocha-steps chai
|
||||
- cd ../..
|
||||
- node .gitlab/node_job/node_modules/mocha/bin/_mocha --require mocha-steps --colors .gitlab/node_job/wppChecker.js
|
||||
|
||||
test-manifest-job/valid_set:
|
||||
variables:
|
||||
PACKAGE_NAME: "valid_set"
|
||||
<<: *test-manifest
|
||||
|
||||
# Jobs from here run Merged_results or Push/Merge Commits to the main branch. Tag is created on release so no run with tag creation
|
||||
.bundle-job: &bundle
|
||||
stage: Bundle
|
||||
|
Reference in New Issue
Block a user