Skip to content

Commit

Permalink
ACMS-4173: run backstop tests with D10.
Browse files Browse the repository at this point in the history
  • Loading branch information
rajeshreeputra committed Sep 9, 2024
1 parent fa51795 commit 6996719
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/acquia_cms_ci.workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -395,8 +395,8 @@ jobs:
# Unset the repository path.
composer config repositories.acquia_cms_headless --unset
# Added below in CI to test acquia_cms on Drupal Core >=9.5.
composer require "drupal/core:>=9.5" --no-update --no-install -d modules/acquia_cms_common
sed -i 's/^core_version_requirement.*/core_version_requirement: ">=9.5"/' modules/acquia_cms_common/acquia_cms_common.info.yml
# composer require "drupal/core:>=9.5" --no-update --no-install -d modules/acquia_cms_common
# sed -i 's/^core_version_requirement.*/core_version_requirement: ">=9.5"/' modules/acquia_cms_common/acquia_cms_common.info.yml
# Remove all PHPunit tests from acquia_cms modules.
find modules/*/tests tests/src -type f -name "*Test.php" -exec rm -fr '{}' ';'
Expand Down
5 changes: 3 additions & 2 deletions tests/ci/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,15 @@ curl "https://cdn.jsdelivr.net/npm/[email protected]/dist/chart.umd.min.js" -o ${OR
if [ -n "${ACMS_JOB}" ]; then
if [ "${ACMS_JOB}" == "backstop_tests" ] && [ "${CORE_VERSION}" == "LATEST_LTS" ]; then
composer config --unset repositories.acquia_cms_common
composer require drupal/acquia_cms_common:2.x-dev -W
composer require drupal/acquia_cms_common:3.x-dev -W
fi
if [ "${ACMS_JOB}" == "dev_version_test" ]; then
composer config extra.composer-exit-on-patch-failure "false" --json
composer config minimum-stability dev
composer config prefer-stable false
composer update "drupal/*"
composer update "drupal/next:1.0.x-dev" "drupal/acquia_search:3.1.x-dev"
# composer update "drupal/next:1.0.x-dev" "drupal/acquia_search:3.1.x-dev"
composer update "drupal/acquia_search:3.1.x-dev"
composer update "drupal/core*" "acquia/cohesion*" --prefer-stable -W
fi
if [ "${ACMS_JOB}" != "dev_version_test" ]; then
Expand Down

0 comments on commit 6996719

Please sign in to comment.