Skip to content

Merge pull request #709 from tighten/fix-format-action #110

Merge pull request #709 from tighten/fix-format-action

Merge pull request #709 from tighten/fix-format-action #110

Workflow file for this run

name: Test
on:
pull_request:
push:
branches: [main, ci]
jobs:
phpunit:
name: PHP ${{ matrix.php }}, ${{ matrix.dependencies }}
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.php == '8.3' }}
strategy:
fail-fast: false
matrix:
php: ['8.2', '8.3']
dependencies: [lowest, highest]
include:
- php: '8.3'
composer: --ignore-platform-req=php
steps:
- uses: actions/checkout@v3
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- uses: ramsey/composer-install@v2
with:
dependency-versions: ${{ matrix.dependencies }}
composer-options: ${{ matrix.composer }}
- run: vendor/bin/phpunit --testdox --colors=always