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 rrssb-3442148

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

AdamPS made their first commit to this issue’s fork.

adamps’s picture

Status: Needs review » Needs work

Great thanks. I committed it however the tests are failing. Most likely it's because they were running with D9.5 before and now with D10.

Probably this line in RrssbTest.php line 54

$this->submitForm($edit, 'Save content type');

needs to change to this

$this->submitForm($edit, 'Save');

or something similar

ptmkenny’s picture

Status: Needs work » Fixed
Related issues: +#3442148: Add GitLab CI template

Thanks! I'll try to fix this but I'll do it in a follow-up issue since the template is already committed.

ptmkenny’s picture

Status: Fixed » Closed (fixed)

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