Skip to content

CI/CD Baseline

CI/CD Baseline #1

Workflow file for this run

name: CIGrumPHP
on:
push:
branches:
- cicdtest
tags:
- '*'
pull_request:
# concurrency:
# group: ${{ github.ref }}
# cancel-in-progress: true
jobs:
drupal_codequality:
runs-on: ubuntu-latest
container: hussainweb/drupalqa
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Enable GrumPHP plugin
run: composer global config --no-plugins allow-plugins.phpro/grumphp-shim true
- name: Install GrumPHP globally
run: composer global require phpro/grumphp-shim
- name: Run phplint
run: grumphp run --tasks=phplint
- name: Run phpcs
run: grumphp run --tasks=phpcs
- name: Run phpmd
run: grumphp run --tasks=phpmd