Skip to content

chore: 🤖 Support v5 + v6 and test on PHP 8.3 #29

chore: 🤖 Support v5 + v6 and test on PHP 8.3

chore: 🤖 Support v5 + v6 and test on PHP 8.3 #29

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
php: [5.3, 5.4, 5.5, 5.6, '7.0', 7.1, 7.2, 7.3, 7.4, '8.0', 8.1, 8.2, 8.3]
flags: ['']
include:
- { php: 5.3, flags: --prefer-lowest }
- { php: 5.4, flags: --prefer-lowest }
- { php: 5.5, flags: --prefer-lowest }
- { php: 5.6, flags: --prefer-lowest }
- { php: '7.0', flags: --prefer-lowest }
- { php: 7.1, flags: --prefer-lowest }
steps:
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- run: composer require phpunit/phpunit --dev ${{ matrix.flags }}
- run: composer show | grep -E '^(phpunit/phpunit|sebastian/comparator)'
- run: 'vendor/bin/phpunit --migrate-configuration || :'
- run: vendor/bin/phpunit