Skip to content

v4.0: Anatomy

v4.0: Anatomy #86

Workflow file for this run

name: PHP Tests
on: [ push, pull_request, workflow_dispatch ]
jobs:
phpunit:
name: ${{ matrix.php-version }}
runs-on: ubuntu-latest
strategy:
matrix:
php-version: [ 8.0, 8.1, 8.2, 8.3 ]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
- name: Install dependencies
run: composer install --no-progress --no-suggest --prefer-dist
- name: Run tests
run: vendor/bin/phpunit