Skip to content

tests: github actions on php 8.1 to 8.3 with both lowest and highest … #72

tests: github actions on php 8.1 to 8.3 with both lowest and highest …

tests: github actions on php 8.1 to 8.3 with both lowest and highest … #72

Workflow file for this run

name: Testing
on:
- push
- pull_request
jobs:
phpunit:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php-version: ['8.1', '8.2', '8.3']
include:
- php-version: '8.1'
dependency-version: 'lowest'
- php-version: '8.1'
dependency-version: 'highest'
- php-version: '8.2'
dependency-version: 'lowest'
- php-version: '8.2'
dependency-version: 'highest'
- php-version: '8.3'
dependency-version: 'lowest'
- php-version: '8.3'
dependency-version: 'highest'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: dom fileinfo filter libxml xmlreader zip gd
- name: Install dependencies
uses: ramsey/composer-install@v2
with:
dependency-versions: ${{ matrix.dependency-version }}
- name: Run PHPUnit
run: vendor/bin/phpunit