Skip to content

Add missing tests and array shapes #98

Add missing tests and array shapes

Add missing tests and array shapes #98

Workflow file for this run

name: "PHPUnit tests"
on:
pull_request:
push:
jobs:
phpunit:
name: "PHPUnit tests"
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
dependencies:
- "lowest"
- "highest"
- "locked"
minimum-stability:
- "stable"
php-version:
- "8.1"
- "8.2"
- "8.3"
operating-system:
- "ubuntu-latest"
include:
- dependencies: "highest"
minimum-stability: "dev"
php-version: "8.1"
operating-system: "ubuntu-latest"
- dependencies: "highest"
minimum-stability: "dev"
php-version: "8.2"
operating-system: "ubuntu-latest"
steps:
- name: "Checkout"
uses: "actions/checkout@v3"
- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
with:
coverage: "none"
php-version: "${{ matrix.php-version }}"
ini-values: memory_limit=-1
tools: composer:v2, cs2pr
- name: "Enable development dependencies"
if: "${{ matrix.minimum-stability == 'dev' }}"
run: "composer config --no-interaction -- minimum-stability dev"
- name: "Install dependencies"
uses: "ramsey/composer-install@v2"
with:
dependency-versions: "${{ matrix.dependencies }}"
- name: "Tests"
run: "make phpunit"