Skip to content

doctum does not yet support array shapes #83

doctum does not yet support array shapes

doctum does not yet support array shapes #83

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
jobs:
phpunit:
name: PHP ${{ matrix.php }} ${{ matrix.env.COMPOSER_FLAGS }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- php: '8.0'
- php: '8.1'
- php: '8.1'
env:
COMPOSER_FLAGS: "--prefer-lowest"
- php: '8.2'
- php: '8.3'
env:
COMPOSER_FLAGS: ${{ matrix.env.COMPOSER_FLAGS }}
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2
coverage: none
- name: Checkout code
uses: actions/checkout@v4
- name: Install composer dependencies
run: |
composer update --prefer-dist --no-interaction --no-progress --no-ansi ${COMPOSER_FLAGS}
- name: Execute tests
run: |
composer validate --strict --no-check-lock
vendor/bin/phpunit
- name: composer audit
run: composer audit