File tree Expand file tree Collapse file tree 3 files changed +49
-12
lines changed
Expand file tree Collapse file tree 3 files changed +49
-12
lines changed Original file line number Diff line number Diff line change 1+ name : ci
2+ on : [push, pull_request]
3+ jobs :
4+ tests :
5+ runs-on : ubuntu-latest
6+ strategy :
7+ fail-fast : false
8+ matrix :
9+ php_version : ["7.4", "8.0", "8.1"]
10+ drupal_version : ["9"]
11+ exclude :
12+ - php_version : " 7.4"
13+ drupal_version : " 10"
14+ - php_version : " 8.0"
15+ drupal_version : " 10"
16+ env :
17+ PHP_VERSION : ${{ matrix.php_version }}
18+ DRUPAL_VERSION : ${{ matrix.drupal_version }}
19+ DOCKER_USER_ID : " 1001"
20+ steps :
21+ - name : clone
22+ uses : actions/checkout@v3
23+ - name : docker-compose up -d
24+ run : docker-compose up -d
25+ - name : composer self-update
26+ run : docker-compose exec -T php composer self-update
27+ - name : composer require
28+ run : docker-compose exec -u ${DOCKER_USER_ID} -T php composer require --no-interaction --dev --no-update drupal/core:^${DRUPAL_VERSION}
29+ - name : composer install
30+ run : docker-compose exec -T php composer install
31+ - name : composer test
32+ run : docker-compose exec -T php composer test
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ version : " 2"
2+ services :
3+
4+ php :
5+ image : wodby/drupal-php:${PHP_VERSION}
6+ environment :
7+ PHP_FPM_USER : wodby
8+ PHP_FPM_GROUP : wodby
9+ PHP_FPM_CLEAR_ENV : " yes"
10+ PHP_OPCACHE_PRELOAD_USER : wodby
11+ PHP_XDEBUG_MODE : " off"
12+ PHP_XDEBUG_REMOTE_CONNECT_BACK : 1
13+ PHP_XDEBUG_REMOTE_HOST : " 10.254.254.254"
14+ PHP_XDEBUG_IDEKEY : " PHPSTORM"
15+ PHP_IDE_CONFIG : " serverName=drupaldriver"
16+ volumes :
17+ - ./:/var/www/html
You can’t perform that action at this time.
0 commit comments