Retry b2a6fe69c672a45ee51926b44f647635cb63f65d #1655
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
branches: | |
- 2.x | |
- 3.x | |
- develop | |
pull_request: | |
jobs: | |
phpUnitTests: | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 6 | |
matrix: | |
phpVersions: ['8.0', '8.1', '8.2', '8.3'] | |
fail-fast: false | |
name: PHP ${{ matrix.phpVersions }} | |
steps: | |
- name: Checkout changes | |
uses: actions/checkout@v1 | |
- name: Install PHP | |
uses: shivammathur/setup-php@master | |
with: | |
php-version: ${{ matrix.phpVersions }} | |
- name: Install Composer dependencies | |
run: composer install --no-interaction --no-progress --no-suggest --no-scripts | |
- name: Run Tests | |
run: ./vendor/bin/phpunit ./tests |