Skip to content
Snippets Groups Projects
Verified Commit 21d2cbac authored by Bartek Jaskulski's avatar Bartek Jaskulski
Browse files

feat: improve preparation stage

parent c3d6fba4
No related branches found
No related tags found
No related merge requests found
.template: &job-prepare
artifacts:
name: "vendor_prefixed"
paths:
- vendor
- vendor_prefixed
- lang
- assets
prepare prefixed vendor:
image: composer:2.0.8
artifacts:
......@@ -46,7 +37,7 @@ prepare npm assets:
- tests/codeception/prepare_npm.sh
- if: $IS_NPM_LIBRARY
when: never
stage: prepare-node
stage: prepare-vendor
interruptible: true
script:
- mkdir -p /cache/npm-cache
......@@ -80,15 +71,17 @@ prepare tests:
image: wpdesknet/phpunit-woocommerce:0-0
tags:
- vendor
stage: prepare-translations-and-tests
stage: prepare-vendor
artifacts:
name: "dependent_plugins"
paths:
- tests/dependent_plugins
except:
variables:
- $IS_LIBRARY
- $IS_NPM_LIBRARY
rules:
- exists:
- tests/integration/prepare.sh
- tests/codeception/prepare.sh
- if: $IS_LIBRARY || $IS_NPM_LIBRARY
when: never
interruptible: true
script:
- echo "xdebug.max_nesting_level=2560" >> /usr/local/etc/php/php.ini
......
.lint: &lint-tmpl
needs: []
dependencies:
- prepare prefixed vendor
stage: tests
script:
- composer install --no-dev
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment