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

feat: update unit tests image

parent 731e6984
Branches
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment