Skip to content

LCH-6543: Add methods for sending client metadata while registering or updating the client. #439

LCH-6543: Add methods for sending client metadata while registering or updating the client.

LCH-6543: Add methods for sending client metadata while registering or updating the client. #439

name: Content Hub PHP
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/ test/
- name: Run PHPUnit
run: ./vendor/bin/phpunit test/
- name: Run phpstan
run: ./vendor/bin/phpstan analyse -c ./phpstan.neon