Automated testing: Configure GitLab CI

Created on 23 March 2024, about 1 year ago
Updated 25 March 2024, about 1 year ago

Problem/Motivation

The project seems to have Functional Automated tests already see:
https://git.drupalcode.org/project/shs/-/tree/2.0.x/tests/src/Functional...

But they don't seem to be currently integrated with the new GitLab CI Automated testing infrastructure.

Steps to reproduce

Browse to project's repository Build Pipelines: https://git.drupalcode.org/project/shs/-/pipelines

Proposed resolution

Transition the project to use GitLab CI pipelines instead of DrupalCI, to provide similar automated testing conditions: PHP, DB, Core versions, branches, triggers on commits, merge requests, patches submitted in tickets, etc...

As described in the Documentation on Drupal.org: GitLab CI β†’ , with corresponding config template file:
https://git.drupalcode.org/project/gitlab_templates/-/blob/main/gitlab-c...

Remaining tasks

There might be additional validation Build errors or warnings with the merge requests, when the tests run for the first time, for example, phpstan, phpcs, cspell, etc...
We will probably need to figure out whether they should be fixed in the same ticket or specific ones.
 

Feel free to let us know if you have any suggestions, comments, or feedback on this ticket or the project in general, we would be glad to help and provide more information.
Thanks in advance!

πŸ“Œ Task
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡«πŸ‡·France dydave

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024