Skip to content

Merge pull request #39 from iazaran/dependabot-fixes #71

Merge pull request #39 from iazaran/dependabot-fixes

Merge pull request #39 from iazaran/dependabot-fixes #71

Workflow file for this run

name: Coverage
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
permissions:
contents: read
jobs:
coverage:
runs-on: ubuntu-latest
name: Coverage Report (PHP 8.3)
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo, zlib
coverage: xdebug
- name: Install dependencies
run: |
composer update --prefer-stable --prefer-dist --no-interaction
- name: Execute tests with coverage
run: vendor/bin/phpunit --coverage-text --testdox