Skip to content

Migrate CI to GitHub Actions and upgrade PHPUnit for PHP 8 compatibility #2

Migrate CI to GitHub Actions and upgrade PHPUnit for PHP 8 compatibility

Migrate CI to GitHub Actions and upgrade PHPUnit for PHP 8 compatibility #2

Workflow file for this run

name: Tests
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: ['7.4', '8.0', '8.1', '8.2']
fail-fast: false
name: PHP ${{ matrix.php-version }}
steps:
- uses: actions/checkout@v4
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
tools: composer
- name: Install dependencies
run: composer install
- name: Run tests
run: composer test