Closed (fixed)
Project:
Feeds
Version:
7.x-2.x-dev
Component:
Miscellaneous
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
6 Jun 2024 at 11:21 UTC
Updated:
29 Jun 2024 at 07:04 UTC
Jump to comment: Most recent
Drupal CI is being phased out. As this module already uses GitLab CI for the 8.x-3.x branch, the only thing preventing the removal of Drupal CI in https://www.drupal.org/node/583948/qa is the fact that the 7.x-2.x branch still uses it.
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
Comment #3
jcnventuraNot much to review here...
Comment #4
megachrizHm, but it does fail tests. Is that perhaps caused by issues in modules that the D7 version of Feeds depends or integrates with? For example: Job Scheduler, Date, Organic Groups, Feeds XPath Parser...
Comment #5
jcnventuraYes, most likely this needs at least a composer.json with the correct require-dev, similarly to the D8+ composer.json.
Comment #6
megachrizI also see the tests are using PHP 8.1. Would it work better if we use PHP 7.4 on GitLab CI instead? At least for now, so we have better hopes of passing tests. Tests fail on PHP 8 on Drupal CI as well, where the PHP 8.1 failures look related to Job Scheduler.
Comment #7
megachrizWe could also perhaps disable (or rewrite?) some of the tests. For example, Feeds XPath Parser is an abandoned project, so that one is unlikely to get PHP 8 compatibility. It was replaced by Feeds Extensible Parsers almost a decade ago.
Comment #8
jcnventuraI believe we can force the PHP version in the tests for this to be 7.4. Need to investigate further.
Comment #10
joelpittetChanged the template comments to the current template and read the docs on the test dependencies:
https://project.pages.drupalcode.org/gitlab_templates/info/drupal7/#depe...
This is the first one of these I am doing, so we'll see how it goes...
Comment #11
joelpittetGetting a bit closer...
I have it set to PHP 7.4 which did help.
MAX PHP: https://git.drupalcode.org/project/feeds/-/jobs/1864063
Not MAX PHP: https://git.drupalcode.org/project/feeds/-/jobs/1864177
PHP 7.4 explicit: https://git.drupalcode.org/project/feeds/-/jobs/1864327
I will likely disable some tests if they are from third party integrations failing:
I might also create a new release for OG to help here too...
Comment #12
joelpittet