variables:
  WPDESK_CI_VERSION: "2024.11.26"
  MYSQL_ROOT_PASSWORD: "mysql"
  MYSQL_DATABASE: "wptest"
  MYSQL_USER: "mysql"
  MYSQL_PASSWORD: "mysql"
  MYSQL_INNODB_LOG_BUFFER_SIZE: "32M"
  PHP_ERROR_REPORTING: "E_ALL"
  COMPOSER_ALLOW_SUPERUSER: "1"
  COMPOSER_MEMORY_LIMIT: "-1"
  GIT_STRATEGY: "fetch"
  CONTRIBUTORS: "wpdesk,dyszczo,grola,piotrpo,marcinkolanko"
  MINIMAL_WP_TESTED_UP: "6.2"
  MINIMAL_WC_TESTED_UP: "8.1"

stages:
  - prepare-vendor
  - prepare-node
  - prepare-translations-and-tests
  - tools
  - tests
  - pre-deploy
  - deploy
  - post-deploy

include:
  - project: 'wpdesk/gitlab-ci'
    ref: 'feat/demo-deploy'
    file:
      - '/includes/prepare.yml'
      - '/includes/translations.yml'
      - '/includes/tests/static-analysis.yml'
      - '/includes/tests/lint.yml'
      - '/includes/tests/unit.yml'
      - '/includes/tests/version-cohesion.yml'
      - '/includes/tests/codeception-integration.yml'
      - '/includes/tests/codeception.yml'
      - '/includes/tests/codeception-parallel.yml'
      - '/includes/tests/integration.yml'
      - '/includes/deploy.yml'
      - '/includes/deploy/demo.yml'
      - '/includes/mixins/.after-codeception.yml'
      - '/includes/mixins/.composer-auth.yml'
      - '/includes/mixins/.skip-mr.yml'
