Skip to content

LCH-6836: Removing config key. #358

LCH-6836: Removing config key.

LCH-6836: Removing config key. #358

name: CHUC
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
php-version: [ '7.4', '8.1', '8.2' ]
steps:
# This step checks out a copy of your repository.
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: xdebug
- name: Install composer dependencies
run: composer install
- name: Run phpcs
run: |
./vendor/bin/phpcs --config-set installed_paths vendor/drupal/coder/coder_sniffer
./vendor/bin/phpcs -n --standard=Drupal,DrupalPractice src/ tests/
- name: Run PHPUnit
run: ./vendor/bin/phpunit
- name: Run phpstan
run: ./vendor/bin/phpstan analyse -c ./phpstan.neon