Skip to content

Filter comments

Filter comments #437

Workflow file for this run

name: Run tests
on: [ push, pull_request ]
jobs:
run-tests:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: ['8.1', '8.2', '8.3']
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: mbstring, dom, fileinfo, intl
coverage: xdebug
- name: Check PHP Version
run: php -v
- name: Check Composer Version
run: composer -V
- name: Install Dependencies
run: composer update --no-interaction
- name: Creating .env for unit tests
run: mv .env.example .env
- name: Execute Tests
run: XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover