Problem/Motivation

Add Drupal Gitlab CI template for later improving code quality and testing.

Steps to reproduce

The google_api_client contrib module has no Gitlab CI jobs yet.

Proposed resolution

Add Drupal Gitlab CI template with following opt_ins:

variables:
  OPT_IN_TEST_PREVIOUS_MAJOR: '1'
  OPT_IN_TEST_PREVIOUS_MINOR: '1'
  OPT_IN_TEST_NEXT_MAJOR: '1'
  OPT_IN_TEST_NEXT_MINOR: '1'
  OPT_IN_TEST_MAX_PHP: '1'

Remaining tasks

Create separate issues to fix cspell, eslint, PHPCS and PHPStan later.

User interface changes

No.

API changes

No.

Data model changes

No.

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

it-cru created an issue. See original summary.

it-cru changed the visibility of the branch 8.x-4.x to hidden.

it-cru’s picture

Assigned: it-cru » Unassigned
Issue summary: View changes
Status: Active » Needs review

Added .gitlab-ci.yml from Drupal's Gitlab CI template with following opt-ins:

variables:
  OPT_IN_TEST_PREVIOUS_MAJOR: '1'
  OPT_IN_TEST_PREVIOUS_MINOR: '1'
  OPT_IN_TEST_NEXT_MAJOR: '1'
  OPT_IN_TEST_NEXT_MINOR: '1'
  OPT_IN_TEST_MAX_PHP: '1'