Skip to content

Merge pull request #63 from clearbooks/php-83-support #24

Merge pull request #63 from clearbooks/php-83-support

Merge pull request #63 from clearbooks/php-83-support #24

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
run:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['7.4', '8.2', '8.3']
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
coverage: xdebug
- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
with:
path: vendor
key: ${{ runner.os }}-php-${{ matrix.php-versions }}-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-${{ matrix.php-versions }}-
- name: Install dependencies
run: composer install -o --no-progress
- name: Run tests
run: ./vendor/bin/phpunit -c phpunit.xml