Problem / Motivation

All PHPUnit tests fail on the drupal.org GitLab CI pipeline because the ai module dependency is not available in the test environment. The CI runner cannot resolve contrib module dependencies without a composer.json file in the module root.

Proposed resolution

Add a composer.json file to the module with drupal/ai listed as a requirement. This allows the drupal.org CI pipeline to download the dependency before running tests.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

solimanharkas created an issue. See original summary.

solimanharkas’s picture

Assigned: solimanharkas » Unassigned
Status: Needs work » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.