Skip to content
This repository has been archived by the owner on Sep 15, 2023. It is now read-only.

Work

Work #112

Workflow file for this run

name: Tests (PHP)
on: [push, pull_request]
jobs:
phpunit:
name: PHP ${{ matrix.php }} (${{ matrix.os }} with ${{ matrix.dependency-version }} deps)
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
php: [8.1, 8.2]
dependency-version: [highest, lowest]
steps:
- uses: actions/checkout@v3
- name: Configure PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: mbstring, fileinfo
coverage: none
- name: Install dependencies
uses: ramsey/composer-install@v1
with:
dependency-versions: ${{ matrix.dependency-version }}
composer-options: "--prefer-dist"
- name: Execute tests
run: vendor/bin/phpunit