acquia / drupal-environment-detector

Provides common methods for detecting the current Acquia environment
GNU General Public License v2.0
10 stars 13 forks source link

RCAT-684 | Enable D11 jobs #89

Closed Raksha-Bharuka closed 4 weeks ago

Raksha-Bharuka commented 1 month ago

Motivation Enables jobs to test D11 readiness RCAT-684

Proposed changes Following jobs are added for D11 with php8.3 -

secretsayan commented 1 month ago

ISOLATED_TEST_ON_NEXT_MAJOR_LATEST_MINOR_BETA_OR_LATER D11 job is failing:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires phpunit/phpunit ^9.1, found phpunit/phpunit[9.1.0, ..., 9.6.x-dev] but these were not loaded, likely because it conflicts with another require.
  Problem 2
    - drupal/core-dev is locked to version 11.0.0-beta1 and an update of this package was not requested.
    - drupal/core-dev 11.0.0-beta1 requires phpunit/phpunit ^10.5.19 -> found phpunit/phpunit[10.5.19, 10.5.20, 10.5.x-dev] but it conflicts with your root composer.json require (^9.1).
  Problem 3
    - phpspec/prophecy-phpunit is locked to version v2.2.0 and an update of this package was not requested.
    - phpspec/prophecy-phpunit v2.2.0 requires phpunit/phpunit ^9.1 || ^10.1 || ^11.0 -> found phpunit/phpunit[dev-main, 9.1.0, ..., 9.6.x-dev, 10.1.0, ..., 10.5.x-dev, 11.0.0, ..., 11.3.x-dev (alias of dev-main)] but these were not loaded, likely because it conflicts with another require.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
Error: Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires phpunit/phpunit ^9.1, found phpunit/phpunit[9.1.0, ..., 9.6.x-dev] but these were not loaded, likely because it conflicts with another require.
  Problem 2
    - drupal/core-dev is locked to version 11.0.0-beta1 and an update of this package was not requested.
    - drupal/core-dev 11.0.0-beta1 requires phpunit/phpunit ^10.5.19 -> found phpunit/phpunit[10.5.19, 10.5.20, 10.5.x-dev] but it conflicts with your root composer.json require (^9.1).
  Problem 3
    - phpspec/prophecy-phpunit is locked to version v2.2.0 and an update of this package was not requested.
    - phpspec/prophecy-phpunit v2.2.0 requires phpunit/phpunit ^9.1 || ^10.1 || ^11.0 -> found phpunit/phpunit[dev-main, 9.1.0, ..., 9.6.x-dev, 10.1.0, ..., 10.5.x-dev, 11.0.0, ..., 11.3.x-dev (alias of dev-main)] but these were not loaded, likely because it conflicts with another require.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

In ProcessRunner.php line 97:

  The command "'/usr/local/bin//composer' 'require' '--no-progress' '--no-interaction' 'acquia/coding-standards:^2.0.0' 'd  
  ealerdirect/phpcodesniffer-composer-installer:^1.0.0' 'phpunit/phpunit:^9.1'" failed.                                     

  Exit Code: 2(Misuse of shell builtins)                                                                                    

  Working directory: /home/runner/work/drupal-environment-detector/orca-build                                               

fixture:init [-f|--force] [--sut SUT] [--sut-only] [--bare] [--core CORE] [--dev] [--profile PROFILE] [--project-template PROJECT-TEMPLATE] [--ignore-patch-failure] [--no-sqlite] [--no-site-install] [--prefer-source] [--symlink-all]
danepowell commented 4 weeks ago

Conflicts need to be resolved and tests need to be passing, then I'm happy to merge this.

danepowell commented 4 weeks ago

Guess we don't need PHPUnit as a dev dependency if ORCA is required to run tests anyway.