Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
gitlab-ci
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wpdesk
gitlab-ci
Commits
21d2cbac
Verified
Commit
21d2cbac
authored
2 years ago
by
Bartek Jaskulski
Browse files
Options
Downloads
Patches
Plain Diff
feat: improve preparation stage
Signed-off-by:
Bart Jaskulski
<
bjaskulski@protonmail.com
>
parent
c3d6fba4
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
includes/prepare.yml
+8
-15
8 additions, 15 deletions
includes/prepare.yml
includes/tests/lint.yml
+2
-1
2 additions, 1 deletion
includes/tests/lint.yml
with
10 additions
and
16 deletions
includes/prepare.yml
+
8
−
15
View file @
21d2cbac
.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
...
...
This diff is collapsed.
Click to expand it.
includes/tests/lint.yml
+
2
−
1
View file @
21d2cbac
.lint
:
&lint-tmpl
needs
:
[]
dependencies
:
-
prepare prefixed vendor
stage
:
tests
script
:
-
composer install --no-dev
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment