Skip to content

Commit 5cf8e34

Browse files
authored
Merge pull request #1892 from acquia/ACMS-0000
ACMS-000: Update workflow to start re-running CI for headless.
2 parents 49dd2a2 + 1cf4be0 commit 5cf8e34

File tree

4 files changed

+4427
-2363
lines changed

4 files changed

+4427
-2363
lines changed

.github/workflows/acquia_cms_ci.workflow.yml

+1-30
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,6 @@ jobs:
8888
#coverage: xdebug
8989
- name: Execute PHPStan
9090
run: |
91-
# Remove Acquia CMS modules.
92-
# @todo: Remove module from below which you want to make Drupal 11 compatible.
93-
composer remove "drupal/acquia_cms_headless" --no-install --no-update
94-
# Remove acquia_cms_headless module.
95-
rm -fr modules/acquia_cms_headless
96-
# Unset the repository path.
97-
composer config repositories.acquia_cms_headless --unset
9891
rm composer.lock
9992
composer install
10093
./vendor/bin/phpstan analyze
@@ -166,13 +159,6 @@ jobs:
166159
# aws-region: ${{ secrets.AWS_DEFAULT_REGION }}
167160
- name: Before Install
168161
run: |
169-
# Remove Acquia CMS modules.
170-
# @todo: Remove module from below which you want to make Drupal 11 compatible.
171-
composer remove "drupal/acquia_cms_headless" --no-install --no-update
172-
# Remove acquia_cms_headless module.
173-
rm -fr modules/acquia_cms_headless
174-
# Unset the repository path.
175-
composer config repositories.acquia_cms_headless --unset
176162
# Update the CI by adding patches without pinning the following modules.
177163
#composer require "drupal/facets:^2.0.6" --no-update --no-install -d modules/acquia_cms_search
178164
@@ -245,7 +231,7 @@ jobs:
245231
- acquia_cms_common
246232
- acquia_cms_document
247233
- acquia_cms_event
248-
# - acquia_cms_headless
234+
- acquia_cms_headless
249235
- acquia_cms_image
250236
- acquia_cms_page
251237
- acquia_cms_person
@@ -271,13 +257,6 @@ jobs:
271257
curl https://gist.githubusercontent.com/rajeshreeputra/170586f217b422eb9cdfd9ca9457a2e3/raw/c2f277ba9005b91d7f662cacf37b3940a66a9b8c/sut-path-reposories.patch | git -C ../orca apply
272258
- name: Before Install
273259
run: |
274-
# Remove Acquia CMS modules.
275-
# @todo: Remove module from below which you want to make Drupal 11 compatible.
276-
composer remove "drupal/acquia_cms_headless" --no-install --no-update
277-
# Remove acquia_cms_headless module.
278-
rm -fr modules/acquia_cms_headless
279-
# Unset the repository path.
280-
composer config repositories.acquia_cms_headless --unset
281260
# Remove all ExistingSite test in CI.
282261
find tests/src -type f -name "*Test.php" -path "*/ExistingSite*/*" -exec rm -fr '{}' ';'
283262
# Remove all PHPUnit test files, excluding the current module's PHPUnit tests.
@@ -375,14 +354,6 @@ jobs:
375354
aws-region: ${{ secrets.AWS_DEFAULT_REGION }}
376355
- name: Before Install
377356
run: |
378-
# Remove Acquia CMS modules.
379-
# @todo: Remove module from below which you want to make Drupal 11 compatible.
380-
composer remove "drupal/acquia_cms_headless" --no-install --no-update
381-
# Remove acquia_cms_headless module.
382-
rm -fr modules/acquia_cms_headless
383-
# Unset the repository path.
384-
composer config repositories.acquia_cms_headless --unset
385-
386357
# Remove all PHPunit tests from acquia_cms modules.
387358
find modules/*/tests tests/src -type f -name "*Test.php" -exec rm -fr '{}' ';'
388359

composer.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"drupal/acquia_cms_audio": "dev-develop",
2222
"drupal/acquia_cms_component": "dev-develop",
2323
"drupal/acquia_cms_dam": "dev-develop",
24+
"drupal/acquia_cms_headless": "dev-develop",
2425
"drupal/acquia_cms_site_studio": "dev-develop",
2526
"drupal/acquia_cms_starter": "dev-develop",
2627
"drupal/acquia_cms_toolbar": "dev-develop",
@@ -264,7 +265,8 @@
264265
"phpro/grumphp-shim": true,
265266
"phpstan/extension-installer": true,
266267
"webdriver-binary/binary-chromedriver": true,
267-
"wikimedia/composer-merge-plugin": true
268+
"wikimedia/composer-merge-plugin": true,
269+
"tbachert/spi": true
268270
},
269271
"preferred-install": {
270272
"drupal/core": "dist"

0 commit comments

Comments
 (0)