Turn on GitLabCI testing

Created on 16 October 2024, about 1 month ago

This project has a lot of tests, but they aren't being run because GitLab CI testing has not been enabled. (Drupal CI testing is no longer an option - Drupal CI was turned off earlier this year.)

There is currently no way to see if the releases for this project are functional, because the tests aren't being run.

And no patches are being tested, so it will be hard to contribute to the module and hard to maintain it in working condition.

For GitLab CI testing to be turned on, all this project needs is a .gitlab-ci.yml file committed. I will open up a MR and add one from the GitLab Templates project.

I expect that when the tests are run they will show a lot of problems - those can be handled in new, separate issues and shouldn't be a reason to leave the testing turned off.

πŸ› Bug report
Status

Active

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States tr Cascadia

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

Merge Requests

Comments & Activities

  • Issue created by @tr
  • Merge request !16Add new file β†’ (Open) created by tr
  • Pipeline finished with Failed
    about 1 month ago
    Total: 45s
    #311070
  • Pipeline finished with Failed
    about 1 month ago
    Total: 343s
    #311074
  • Pipeline finished with Failed
    about 1 month ago
    Total: 195s
    #311080
  • πŸ‡ΊπŸ‡ΈUnited States tr Cascadia

    Note that GitLab CI testing was performed on this MR automatically because a .gitlab-ci.yml file was added as part of the MR.

    I also changed the module dependencies to drop D9 support (as D9 has been unsupported for a year now and can't be tested anymore), make the minimum supported version equal to the core minimum of 10.3, and added support for D11 as the maximum supported core version.

    The testing output shows that some changes are needed for phpcs, phpstan, and eslint, and that some tests fail in both D10 and D11 because the tests for this module were written using an older and now unsupported version of PHPUnit. All of this is fixable in the issue queue AFTER the above MR gets merged.

  • Hi @tr,

    I have confirmed that the GitLab CI testing is now turned on, looks like a lot of issues will be created because I saw lots of failed jobs on the pipeline. Lol.

    Will now move this to RTBC.

    Thanks,
    Jake

Production build 0.71.5 2024