Problem/Motivation

Drupal.org now has a Gitlab CI template for automatically unit tests, coding standards tests, phpstan, and cspell.

Simply adding the template file to the project will start a suite of automated tests.

Issue fork sodium-3442136

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

ptmkenny created an issue. See original summary.

ptmkenny’s picture

Status: Active » Needs review
ptmkenny’s picture

This MR now tests the next and previous minors, plus previous major. Also, the changes were very minor so I fixed the cspell test by adding a dictionary word and fixing one typo.

ptmkenny’s picture

The coding standards fixes were also very minor (alphabetizing use statements) so I added them to this MR.

ptmkenny’s picture

  • ptmkenny committed 134b751c on 8.x-2.x
    Issue #3442136 by ptmkenny: Add GitLab CI template
    

ptmkenny’s picture

phpunit tests on 3.x are not passing, but since this is a dev branch, I will commit this as is (so that we have the same commit on 2.x and 3.x) and then fix the phpunit tests in a separate issue.

  • ptmkenny committed 34af98c6 on 3.0.x
    Issue #3442136 by ptmkenny: Add GitLab CI template
    
ptmkenny’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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