CI/CD Baseline #15
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 | |
# Run each checks separately | |
# - name: Run phplint | |
# run: grumphp run --tasks=phplint | |
# - name: Run phpcs | |
# run: grumphp run --tasks=phpcs | |
# - name: Run phpmd | |
# run: grumphp run --tasks=phpmd | |
# Run using testsuites | |
# - name: Run linters | |
# run: grumphp run --testsuite=linters | |
# - name: Run code quality check | |
# run: grumphp run --testsuite=code_quality | |
frontend_codequality: | |
runs-on: ubuntu-latest | |
container: fullstreaming/phpdev | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Frontend Code Quality | |
run: | | |
cd web/themes/custom/contribtracker | |
gulp lint | |