Skip to content
Snippets Groups Projects
Select Git revision
  • 47c8e032d55db9d809f247c6bd220213a14811a9
  • master default protected
  • devel
  • feature/add-escaping-to-templates
  • feature/add-priority-sorting
  • 3.3.0
  • 3.2.1
  • 3.2.0
  • 3.1.0
  • 3.0.0
  • 2.4.12
  • 2.4.11
  • 2.4.10
  • 2.4.9
  • 2.4.8
  • 2.4.7
  • 2.4.6
  • 2.4.5
  • 2.4.4
  • 2.4.2
  • 2.4.1
  • 2.4.0
  • 2.3.2
  • 2.3.1
  • 2.3
25 results

form-field.php

Blame
  • integration.yml 1.62 KiB
    .template: &integration-test
      stage: tests
      coverage: '/^\s*Lines:\s*\d+.\d+\%/'
      artifacts:
        reports:
          junit: tmp_artifacts/integration/report.xml
      interruptible: true
      tags:
        - integration
      dependencies:
        - prepare translations
      services:
        - mysql:5.6
      before_script:
        - export DEPENDENT_PLUGINS_DIR=${CI_PROJECT_DIR}/tests/dependent_plugins
        - echo ${WPDESK_CI_VERSION}
        - ls -l
        - php --version
        - cat /tmp/wordpress-develop/src/wp-includes/version.php
        - cat /tmp/woocommerce/woocommerce.php
        - ln -s $CI_PROJECT_DIR /tmp/wordpress-develop/src/wp-content/plugins/$CI_PROJECT_NAME
        - 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-integration.xml --no-coverage --log-junit tmp_artifacts/integration/integration/report.xml
      after_script:
        - 'if [[ ${REPORTPORTAL_AUTHORIZATION} && ${REPORTPORTAL_PROJECT} ]]; then curl -X POST "http://195.201.225.204:8080/api/v1/${REPORTPORTAL_PROJECT}/launch/import" -H "accept: */*" -H "Content-Type: multipart/form-data" -H "${REPORTPORTAL_AUTHORIZATION}" -F "file=file=@tmp_artifacts/integration/report.xml;type=text/xml;type=text/xml;filename=${CI_PROJECT_NAME}-${CI_COMMIT_REF_SLUG}-integration.xml"; fi'
      rules:
        - if: '$DISABLE_INTEGRATION_TESTS'
          when: never
        - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH == "devel" || $CI_COMMIT_TAG'
    
    integration:lastest:
      <<: *integration-test
      image: wpdesknet/phpunit-woocommerce:0-2
    
    integration:earliest:
      <<: *integration-test
      image: wpdesknet/phpunit-woocommerce:2-3