Rename 🐞-bug-report.md to bug-report.md #60
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Integration | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
verify: | |
runs-on: "ubuntu-latest" | |
name: "verify" | |
strategy: | |
matrix: | |
drupal: | |
- "10.0.x-dev" | |
- "10.0.0-alpha4" | |
- "^10.0@alpha" | |
steps: | |
- name: "Checkout" | |
uses: "actions/checkout@v2" | |
- name: "Install PHP" | |
uses: "shivammathur/setup-php@v2" | |
with: | |
coverage: none | |
php-version: 8.1 | |
tools: composer:v2 | |
extensions: dom, curl, libxml, mbstring, zip, pdo, mysql, pdo_mysql, bcmath, gd, exif, iconv | |
- name: Setup Drupal | |
uses: bluehorndigital/[email protected] | |
with: | |
version: "${{ matrix.drupal }}" | |
path: ~/drupal | |
allow_plugins: | | |
drupal/core-composer-scaffold | |
drupal/core-project-message | |
mglaman/composer-drupal-lenient | |
- name: Require self | |
run: | | |
cd ~/drupal | |
composer require mglaman/composer-drupal-lenient *@dev | |
- name: Configure allowed list | |
run: | | |
cd ~/drupal | |
composer config --merge --json extra.drupal-lenient.allowed-list '["drupal/token"]' | |
- name: Add non-compatible module release | |
run: | | |
cd ~/drupal | |
composer require drupal/token:1.10.0 -W | |
composer show drupal/token | |
purge: | |
runs-on: "ubuntu-latest" | |
name: "purge#1342bb92" | |
steps: | |
- name: "Checkout" | |
uses: "actions/checkout@v2" | |
- name: "Install PHP" | |
uses: "shivammathur/setup-php@v2" | |
with: | |
coverage: none | |
php-version: 8.1 | |
tools: composer:v2 | |
extensions: dom, curl, libxml, mbstring, zip, pdo, mysql, pdo_mysql, bcmath, gd, exif, iconv | |
- name: Setup Drupal | |
uses: bluehorndigital/[email protected] | |
with: | |
version: ^10.0@alpha | |
path: ~/drupal | |
allow_plugins: | | |
mglaman/composer-drupal-lenient | |
- name: Require self | |
run: | | |
cd ~/drupal | |
composer require mglaman/composer-drupal-lenient *@dev | |
- name: Configure allowed list | |
run: | | |
cd ~/drupal | |
composer config --merge --json extra.drupal-lenient.allowed-list '["drupal/purge"]' | |
- name: Add non-compatible module release | |
run: | | |
cd ~/drupal | |
composer require drupal/purge:3.x-dev#1342bb92b5304c6c316357d2c2c71a62a34d3eff -W | |
composer show drupal/purge | |
d9_to_d10: | |
runs-on: "ubuntu-latest" | |
name: "D9 to D10" | |
steps: | |
- name: "Checkout" | |
uses: "actions/checkout@v2" | |
- name: "Install PHP" | |
uses: "shivammathur/setup-php@v2" | |
with: | |
coverage: none | |
php-version: 8.1 | |
tools: composer:v2 | |
extensions: dom, curl, libxml, mbstring, zip, pdo, mysql, pdo_mysql, bcmath, gd, exif, iconv | |
- name: Setup Drupal | |
uses: bluehorndigital/[email protected] | |
with: | |
version: ^9 | |
path: ~/drupal | |
allow_plugins: | | |
mglaman/composer-drupal-lenient | |
- name: Require self | |
run: | | |
cd ~/drupal | |
composer require mglaman/composer-drupal-lenient *@dev | |
- name: Configure allowed list | |
run: | | |
cd ~/drupal | |
composer config --merge --json extra.drupal-lenient.allowed-list '["drupal/purge"]' | |
- name: Add module release | |
run: | | |
cd ~/drupal | |
composer require drupal/purge:3.x-dev#1342bb92b5304c6c316357d2c2c71a62a34d3eff -W | |
composer show drupal/purge | |
- name: Upgrade Drupal | |
run: | | |
cd ~/drupal | |
composer require drupal/core-recommended:^10@alpha drupal/core-dev:^10@alpha drupal/core-composer-scaffold:^10@alpha drupal/core-project-message:^10@alpha drush/drush:^11.0 guzzlehttp/guzzle:^7.0 --with-all-dependencies --no-update | |
composer update --no-progress --prefer-dist | |
- name: Show module | |
run: | | |
cd ~/drupal | |
composer show drupal/purge | |
without_lock_file: | |
runs-on: "ubuntu-latest" | |
name: "without lock file" | |
steps: | |
- name: "Checkout" | |
uses: "actions/checkout@v2" | |
- name: "Install PHP" | |
uses: "shivammathur/setup-php@v2" | |
with: | |
coverage: none | |
php-version: 8.1 | |
tools: composer:v2 | |
extensions: dom, curl, libxml, mbstring, zip, pdo, mysql, pdo_mysql, bcmath, gd, exif, iconv | |
- name: Setup Drupal | |
uses: bluehorndigital/[email protected] | |
with: | |
version: "^10" | |
path: ~/drupal | |
allow_plugins: | | |
drupal/core-composer-scaffold | |
drupal/core-project-message | |
mglaman/composer-drupal-lenient | |
- name: Require self | |
run: | | |
cd ~/drupal | |
composer require mglaman/composer-drupal-lenient *@dev | |
- name: Configure allowed list | |
run: | | |
cd ~/drupal | |
composer config --merge --json extra.drupal-lenient.allowed-list '["drupal/token"]' | |
- name: Remove lock file | |
run: | | |
cd ~/drupal | |
rm composer.lock | |
rm -rf vendor | |
- name: Require self globally | |
run: | | |
cd ~/drupal | |
composer global config --no-plugins allow-plugins.mglaman/composer-drupal-lenient true | |
composer global require mglaman/composer-drupal-lenient *@dev | |
- name: Add non-compatible module release | |
run: | | |
cd ~/drupal | |
composer require drupal/token:1.10.0 -W | |
composer show drupal/token |