Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RCAT-684 | Enable D11 jobs #89

Merged
merged 8 commits into from
Jun 25, 2024
Merged

Conversation

Raksha-Bharuka
Copy link
Contributor

Motivation
Enables jobs to test D11 readiness RCAT-684

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

  • ISOLATED_TEST_ON_NEXT_MAJOR_LATEST_MINOR_DEV
  • INTEGRATED_TEST_ON_NEXT_MAJOR_LATEST_MINOR_DEV
  • ISOLATED_TEST_ON_NEXT_MAJOR_LATEST_MINOR_BETA_OR_LATER
  • INTEGRATED_TEST_ON_NEXT_MAJOR_LATEST_MINOR_BETA_OR_LATER

@secretsayan
Copy link

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
Copy link
Contributor

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

@danepowell danepowell mentioned this pull request Jun 25, 2024
@danepowell
Copy link
Contributor

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

@danepowell danepowell merged commit a6ad4ee into acquia:main Jun 25, 2024
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants