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
8df08197
Verified
Commit
8df08197
authored
10 months ago
by
Bartek Jaskulski
Browse files
Options
Downloads
Patches
Plain Diff
feat: update unit tests image
Signed-off-by:
Bart Jaskulski
<
bjaskulski@protonmail.com
>
parent
731e6984
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
includes/tests/unit.yml
+4
-9
4 additions, 9 deletions
includes/tests/unit.yml
with
4 additions
and
9 deletions
includes/tests/unit.yml
+
4
−
9
View file @
8df08197
...
...
@@ -17,10 +17,7 @@
<<
:
*job-test-template
before_script
:
-
echo ${WPDESK_CI_VERSION}
-
ls -l
-
php --version
-
cat /tmp/wordpress-develop/src/wp-includes/version.php
-
cat /tmp/woocommerce/woocommerce.php
-
echo "xdebug.mode=coverage" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
script
:
-
vendor/bin/phpunit -d memory_limit=-1 --configuration phpunit-unit.xml --coverage-text --colors=never --log-junit tmp_artifacts/unit/report.xml --coverage-html tmp_artifacts/unit/coverage
...
...
@@ -33,13 +30,11 @@
-
echo ${WPDESK_CI_VERSION}
-
ls -l
-
php --version
-
cat /tmp/wordpress-develop/src/wp-includes/version.php
-
cat /tmp/woocommerce/woocommerce.php
-
vendor/bin/phpunit -d memory_limit=-1 --configuration phpunit-unit.xml --no-coverage --log-junit tmp_artifacts/unit/report.xml
unit test lastest
:
<<
:
*job-test-unit-template-fast
image
:
wpdesknet/phpunit-woocommerce:0
image
:
gitlab.wpdesk.dev:5050/wpdesk/docker-tests/php-box:8.2
only
:
refs
:
-
devel
...
...
@@ -50,7 +45,7 @@ unit test lastest:
unit test lastest coverage
:
<<
:
*job-test-unit-template
image
:
wpdesknet/phpunit-woocommerce:0
image
:
gitlab.wpdesk.dev:5050/wpdesk/docker-tests/php-box:8.2
only
:
refs
:
-
master
...
...
@@ -58,7 +53,7 @@ unit test lastest coverage:
unit test lastest manual
:
<<
:
*job-test-unit-template-fast
image
:
wpdesknet/phpunit-woocommerce:0
image
:
gitlab.wpdesk.dev:5050/wpdesk/docker-tests/php-box:8.2
when
:
manual
allow_failure
:
true
except
:
...
...
@@ -70,7 +65,7 @@ unit test lastest manual:
unit test lastest coverage manual
:
<<
:
*job-test-unit-template
image
:
wpdesknet/phpunit-woocommerce:0
image
:
gitlab.wpdesk.dev:5050/wpdesk/docker-tests/php-box:8.2
when
:
manual
allow_failure
:
true
except
:
...
...
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