Skip to content

Fix backcompat for assertMatchesRegularExpression #214

Fix backcompat for assertMatchesRegularExpression

Fix backcompat for assertMatchesRegularExpression #214

Workflow file for this run

name: Tests
on: [ push, pull_request ]
jobs:
test:
strategy:
fail-fast: false
matrix:
php: [ "7.1", "7.2", "7.3", "7.4", "8.0", "8.1", "8.2", "8.3" ]
composer-dependency: [ prefer-stable, prefer-lowest ]
exclude:
- php: "8.1"
composer-dependency: prefer-lowest
- php: "8.2"
composer-dependency: prefer-lowest
- php: "8.3"
composer-dependency: prefer-lowest
name: "PHP ${{ matrix.php }} - ${{ matrix.composer-dependency }}"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:${{ matrix.php == '7.1' && 'v2.2' || 'v2' }}
coverage: none
- name: Install dependencies
run: |
composer global update
composer update --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist --${{ matrix.composer-dependency }}
- name: Execute tests
run: vendor/bin/phpunit