Overview

Today:

Quoting #3585979-19: CI: review automatic jobs and when they run:

After #3529128: Speed up PHPUnit on CI; stop relying on drupal.org composer template lands, I think we should consider making:

  1. PHPUnit (11.2) run on all DBs
  2. PHPUnit (11.3) run only on SQLite

Or vice versa.

Thoughts?

EDIT: to clarify, I mean for merge commits (aka push to 1.x). Currently both 11.2 and 11.3 run all tests on all 4 DBs.

Proposed resolution

  • unchanged MR commit: already only SQLite, both on 11.2 + 11.3
  • changed 1.x commit: all DBs on 11.3 only because that's what the majority of people use, only SQLite on 11.2
  • changed NEW nightly pipeline: all DBs, both on 11.2 + 11.3

User interface changes

None.

Issue fork canvas-3587819

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

wim leers created an issue. See original summary.

wim leers’s picture

Title: Optimize which PHPUnit CI jobs run: which version (11.2 vs 11.3) + DB combos » Optimize which PHPUnit CI jobs run: which version (11.2 vs 11.3) + DB combos, on merge vs every commit
Issue summary: View changes

Updated IS to clarify situation today.

Also added my proposal.

wim leers’s picture

Assigned: Unassigned » justafish
Issue summary: View changes
Status: Active » Needs review
wim leers’s picture

Assigned: justafish » Unassigned
Status: Needs review » Reviewed & tested by the community
wim leers’s picture

Title: Optimize which PHPUnit CI jobs run: which version (11.2 vs 11.3) + DB combos, on merge vs every commit » Optimize which PHPUnit CI jobs run: 1) nightly: ALL version+DB combos, 2) 1.x: 11.3 all DBs, 11.2 only SQLite

  • wim leers committed e440619c on 1.x
    chore(Project management): #3587819 Optimize which PHPUnit CI jobs run:...
wim leers’s picture

Title: Optimize which PHPUnit CI jobs run: 1) nightly: ALL version+DB combos, 2) 1.x: 11.3 all DBs, 11.2 only SQLite » Optimize which PHPUnit CI jobs run: 1) nightly: ALL version+DB combos, 2) 1.x/merged MRs: 11.3 all DBs, 11.2 only SQLite
Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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