Skip to content

test: add more tests #36

test: add more tests

test: add more tests #36

Workflow file for this run

name: Run PHPUnit Tests
on:
push:
paths-ignore:
- 'README.md'
jobs:
phpunit:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: [ 8.2, 8.3, 8.4 ]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: xdebug
- name: Install dependencies
run: composer install --no-progress --no-suggest --prefer-dist
- name: Configure Xdebug
run: echo "xdebug.mode=coverage" >> $GITHUB_ENV
- name: Run PHPUnit
run: vendor/bin/phpunit