Skip to content

Merge branch 'main' into dependabot/docker/php-8.3-cli #23

Merge branch 'main' into dependabot/docker/php-8.3-cli

Merge branch 'main' into dependabot/docker/php-8.3-cli #23

Workflow file for this run

name: PHP
on: [push, pull_request]
jobs:
lint-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
extensions: xdebug
coverage: xdebug
tools: composer:v2
- name: Validate composer.json and composer.lock
run: composer validate
- name: Install dependencies
run: composer install --prefer-dist --no-progress
- name: Run PHPCS Lint
run: composer lint
- name: Run PHPUnit tests
run: composer test
- name: Upload coverage report
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: coverage/