LCH-7174: Fixing deprecation of module_handler service. #377
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: 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 |