CI/CD Baseline #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |