Repository navigation
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
45 lines (42 loc) · 2.36 KB
/
Copy path.gitlab-ci.yml
File metadata and controls
45 lines (42 loc) · 2.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
################
# GitLabCI template for Drupal projects.
#
# This template is designed to give any Contrib maintainer everything they need to test, without requiring modification.
# It is also designed to keep up to date with Core Development automatically through the use of include files that can be centrally maintained.
# As long as you include the project, ref and three files below, any future updates added by the Drupal Association will be used in your
# pipelines automatically. However, you can modify this template if you have additional needs for your project.
# The full documentation is on https://project.pages.drupalcode.org/gitlab_templates/
################
# For information on alternative values for 'ref' see https://project.pages.drupalcode.org/gitlab_templates/info/templates-version/
# To test a Drupal 7 project, change the first include filename from .main.yml to .main-d7.yml
include:
- project: $_GITLAB_TEMPLATES_REPO
ref: $_GITLAB_TEMPLATES_REF
file:
- '/includes/include.drupalci.main.yml'
- '/includes/include.drupalci.variables.yml'
- '/includes/include.drupalci.workflows.yml'
#
################
# Pipeline configuration variables are defined with default values and descriptions in the file
# https://git.drupalcode.org/project/gitlab_templates/-/blob/main/includes/include.drupalci.variables.yml
# Uncomment the lines below if you want to override any of the variables. The following is just an example.
################
variables:
SKIP_ESLINT: '1'
_PHPUNIT_EXTRA: '--no-coverage --configuration=phpunit.gitlab-ci.xml'
# gitlab_templates 1.17.0 made run-tests.sh the default. Keep the phpunit binary.
_PHPUNIT_CONCURRENT: 0
_CSPELL_WORDS: 'cloudflared, cleanstring, ctools, dpagini, ffpu, multiext, oleh, origname, pagini, vehera, voleger, тест'
OPT_IN_TEST_PREVIOUS_MAJOR: '1'
# The module requires PHP 8.2. Test Drupal 10 on PHP 8.2, not on 8.1.
# CORE_PREVIOUS_PHP_MIN is a CI/CD settings variable. A settings variable
# wins over any value in this file, so set the PHP version on the job.
composer (previous major):
variables:
PHP_VERSION: '8.2'
# Drupal 10's test bootstrap changes directory into web/. PHPUnit 9 then
# reads the configuration file again from there, so a relative path fails.
phpunit (previous major):
variables:
_PHPUNIT_EXTRA: '--no-coverage --configuration=$CI_PROJECT_DIR/phpunit.gitlab-ci.xml'