GitLab CI has the capability to run phpunit tests in parallel, for quicker testing turn-around. This also has the benefit that a failing test can be detected more easily. The split is done on the @group attribute

CommentFileSizeAuthor
#4 phpunit parallel streams.png196.91 KBjonathan1055

Issue fork scheduler-3359093

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

jonathan1055 created an issue. See original summary.

jonathan1055’s picture

The drush tests are currently failing in GitLab-CI. This is the reason for moving them into a separate @group - see https://git.drupalcode.org/project/scheduler/-/commit/55e90c1005a32eaa79...

jonathan1055’s picture

Title: Split phpunit into paralle streams in GitLab-ci » Split phpunit into parallel streams in GitLab-ci
Status: Active » Fixed
StatusFileSize
new196.91 KB

We now can see the four test groups. It is immediately clear that the drush group is causing the overall failure

parallel phpunit groups

  • jonathan1055 committed cb1bb9e9 on 2.x
    Issue #3359093 by jonathan1055: Split phpunit into parallel streams in...
jonathan1055’s picture

Status: Fixed » Patch (to be ported)

Needs backport to 8.x-1.x

  • jonathan1055 committed 6f61cba1 on 8.x-1.x
    Issue #3359093 by jonathan1055: Move drush tests to separate group
    
jonathan1055’s picture

Status: Patch (to be ported) » Fixed

Template for 8.x-1.x was updated here to add the matrix.

Status: Fixed » Closed (fixed)

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