Closed (fixed)
Project:
Scheduler
Version:
7.x-1.x-dev
Component:
Testing
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
29 Jun 2021 at 14:53 UTC
Updated:
29 Jan 2023 at 10:13 UTC
Jump to comment: Most recent
As discovered in #3221220-4: Fix coding standards for Coder 8.3.13 it seems that the drupal.org testbot process is different when running a Merge Request branch compared to an ordinary patch test or regular branch test.
The failures are due to invalid permissions in the RulesTest and DateModuleTest which leads me to suspect it is something to do with the required modules not being loaded. This needs to be fixed separately, first, before we can use the MR branches for proper work.
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
jonathan1055 commentedHere is a trivial change to README.txt with nothing else, to a baseline on how MR testing behaves with core 7.x
[edit]
That's good, we get the same faults as in #3221220: Fix coding standards for Coder 8.3.13
Comment #4
jonathan1055 commentedIn scheduler.info we have
but these modules do not appear to be loaded. Maybe the MR branch expects a composer.json file which is will use to get the dependencies, and does not read the .info file. Hence adding a composer.json file with
just to see what happens
Comment #5
jonathan1055 commentedSo that is good. The tests run and pass properly now that we have a composer.json file.
There is no phpcs output because by default only modified files are checked. Just for info, here is a drupalci.yml file with
Comment #6
jonathan1055 commentedAll good. New drupalci.yml and comopser.json files will be committed.
Comment #8
jonathan1055 commentedNice.
Comment #10
jonathan1055 commentedChanged title to better reflect the solution.